diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-06-21 20:16:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-21 15:14:23 -0400 |
commit | e86283071fb0eed28136adb52997888f4beb202b (patch) | |
tree | 83111eeb6166417c89287659f2014e8cd2fb79d6 /drivers/net/ethernet/qlogic/qed/qed_roce.h | |
parent | 34cfb542b5b1762c73479a4a61e0a3b77253f876 (diff) | |
download | op-kernel-dev-e86283071fb0eed28136adb52997888f4beb202b.zip op-kernel-dev-e86283071fb0eed28136adb52997888f4beb202b.tar.gz |
bpf: expose prog id for cls_bpf and act_bpf
In order to be able to retrieve the attached programs from cls_bpf
and act_bpf, we need to expose the prog ids via netlink so that
an application can later on get an fd based on the id through the
BPF_PROG_GET_FD_BY_ID command, and dump related prog info via
BPF_OBJ_GET_INFO_BY_FD command for bpf(2).
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_roce.h')
0 files changed, 0 insertions, 0 deletions