Home
last modified time | relevance | path

Searched refs:bond_idx (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c588 int bond_idx, veth1_idx, err; in test_xdp_bonding_features() local
594 bond_idx = if_nametoindex("bond"); in test_xdp_bonding_features()
595 if (!ASSERT_GE(bond_idx, 0, "if_nametoindex bond")) in test_xdp_bonding_features()
599 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
622 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
642 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
657 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
674 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()
689 err = bpf_xdp_query(bond_idx, XDP_FLAGS_DRV_MODE, &query_opts); in test_xdp_bonding_features()