bpf: thunderx: Report bpf_prog ID during XDP_QUERY_PROG
authorMartin KaFai Lau <kafai@fb.com>
Fri, 16 Jun 2017 00:29:14 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 15:58:37 +0000 (11:58 -0400)
commit1efde2b668c98dc1c358fb460a738f50f291107c
tree030d9c697d41f407af4fdc5968404d3f82a5c10a
parent8902965f8cb23bba8aa7f3be293ec2f3067b82c6
bpf: thunderx: Report bpf_prog ID during XDP_QUERY_PROG

Add support to thunderx to report bpf_prog ID during XDP_QUERY_PROG.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Sunil Goutham <sgoutham@cavium.com>
Acked-by: Alexei Starovoitov <ast@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c