Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c26 static int ifaces[MAX_IFACE_NUM] = {}; variable
33 for (i = 0; ifaces[i] > 0; i++) { in int_exit()
34 if (bpf_xdp_query_id(ifaces[i], xdp_flags, &prog_id)) { in int_exit()
39 bpf_xdp_detach(ifaces[i], xdp_flags, NULL); in int_exit()
130 ifaces[i] = if_nametoindex(argv[optind + i]); in main()
131 if (!ifaces[i]) in main()
132 ifaces[i] = strtoul(argv[optind + i], NULL, 0); in main()
133 if (!if_indextoname(ifaces[i], ifname)) { in main()
137 if (ifaces[i] > MAX_INDEX_NUM) { in main()
141 printf(" %d", ifaces[i]); in main()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c333 static const char * const ifaces[] = {"bond2", "veth2_1", "veth2_2"}; in test_xdp_bonding_redirect_multi() local
346 for (int i = 0; i < ARRAY_SIZE(ifaces); i++) { in test_xdp_bonding_redirect_multi()
347 int ifindex = if_nametoindex(ifaces[i]); in test_xdp_bonding_redirect_multi()
/linux-6.12.1/Documentation/scsi/
Dcxgb3i.rst63 2. Create an interface file located under /etc/iscsi/ifaces/ for the new