Searched refs:skeletons (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | xdp_bonding.c | 89 struct skeletons { struct 98 static int xdp_attach(struct skeletons *skeletons, struct bpf_program *prog, char *iface) in xdp_attach() argument 107 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach() 114 skeletons->links[skeletons->nlinks++] = link; in xdp_attach() 141 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, in bonding_setup() argument 169 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "veth1_2")) in bonding_setup() 183 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "bond1")) in bonding_setup() 190 if (xdp_attach(skeletons, skeletons->xdp_tx->progs.xdp_tx, "bond2")) in bonding_setup() 201 static void bonding_cleanup(struct skeletons *skeletons) in bonding_cleanup() argument 204 while (skeletons->nlinks) { in bonding_cleanup() [all …]
|
| /Linux-v5.15/tools/bpf/bpftool/Documentation/ |
| D | common_options.rst | 9 skeletons (some features like **bpftool prog profile** or showing
|
| D | bpftool-gen.rst | 157 For skeletons, generate a "light" skeleton (also known as "loader"
|