test_scenario
static const struct test_scenario scenarios[NUM_SCENARIOS] = {
static void build_flow_key(struct flow_key *fk, const struct test_scenario *sc)
static void build_l4(const struct test_scenario *sc, __u8 *p, __u32 *off)
const struct test_scenario *sc = &scenarios[idx];
static void populate_vip(struct xdp_lb_bench *skel, const struct test_scenario *sc)
static void populate_lru(const struct test_scenario *sc, __u32 real_idx)
const struct test_scenario *sc = &scenarios[args.scenario];
const struct test_scenario *sc = &scenarios[args.scenario];
const struct test_scenario *sc = &scenarios[idx];
const struct test_scenario *sc = &scenarios[idx];
const struct test_scenario *sc = &scenarios[idx];
switch (test_scenario) {
switch (test_scenario) {
if (test_scenario == 0 || test_scenario == 3) {
if (test_scenario == 1 || test_scenario == 4) {
if (test_scenario == 6) {
u32 test_scenario;
skel->bss->test_scenario = scenario;