diff options
author | Di Zhu <[email protected]> | 2022-01-19 09:40:04 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-01-20 21:30:58 -0800 |
commit | 748cd5729ac7421091316e32dcdffb0578563880 (patch) | |
tree | e5ae498f48bb6051c170f8636d3568abefbfb857 /drivers/fpga/altera-fpga2sdram.c | |
parent | 3f712d4691fc4b5249218ba045ac24f615705df9 (diff) |
bpf: support BPF_PROG_QUERY for progs attached to sockmap
Right now there is no way to query whether BPF programs are
attached to a sockmap or not.
we can use the standard interface in libbpf to query, such as:
bpf_prog_query(mapFd, BPF_SK_SKB_STREAM_PARSER, 0, NULL, ...);
the mapFd is the fd of sockmap.
Signed-off-by: Di Zhu <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions