Searched refs:bond_idx (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 499 int bond_idx, veth1_idx, err; in test_xdp_bonding_features() local 505 bond_idx = if_nametoindex("bond"); in test_xdp_bonding_features() 506 if (!ASSERT_GE(bond_idx, 0, "if_nametoindex bond")) in test_xdp_bonding_features() 510 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features() 533 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features() 553 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features() 568 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features() 585 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features() 600 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
|