Searched refs:ifobj_rx (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | xskxceiver.c | 197 static void parse_command_line(struct ifobject *ifobj_tx, struct ifobject *ifobj_rx, int argc, in parse_command_line() argument 216 ifobj = ifobj_rx; in parse_command_line() 234 ifobj_rx->busy_poll = true; in parse_command_line() 338 struct ifobject *ifobj_tx, *ifobj_rx; in main() local 351 ifobj_rx = ifobject_create(); in main() 352 if (!ifobj_rx) in main() 357 parse_command_line(ifobj_tx, ifobj_rx, argc, argv); in main() 368 shared_netdev = (ifobj_tx->ifindex == ifobj_rx->ifindex); in main() 370 ifobj_rx->shared_umem = shared_netdev; in main() 372 if (!validate_interface(ifobj_tx) || !validate_interface(ifobj_rx)) in main() [all …]
|
| H A D | xskxceiver.h | 163 struct ifobject *ifobj_rx; global() member
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 229 struct ifobject *ifobj_rx) in __test_spec_init() argument 234 struct ifobject *ifobj = i ? ifobj_rx : ifobj_tx; in __test_spec_init() 275 test->ifobj_rx = ifobj_rx; in __test_spec_init() 284 test->xdp_prog_rx = ifobj_rx->xdp_progs->progs.xsk_def_prog; in __test_spec_init() 285 test->xskmap_rx = ifobj_rx->xdp_progs->maps.xsk; in __test_spec_init() 291 struct ifobject *ifobj_rx, enum test_mode mode, in test_init() argument 305 struct ifobject *ifobj = i ? ifobj_rx : ifobj_tx; in test_init() 317 __test_spec_init(test, ifobj_tx, ifobj_rx); in test_init() 322 __test_spec_init(test, test->ifobj_tx, test->ifobj_rx); in test_spec_reset() 339 if (test->ifobj_rx->mtu != mtu) { in test_spec_set_mtu() [all …]
|