bpf: virtio_net: Report bpf_prog ID during XDP_QUERY_PROG
authorMartin KaFai Lau <[email protected]>
Fri, 16 Jun 2017 00:29:12 +0000 (17:29 -0700)
committerDavid S. Miller <[email protected]>
Fri, 16 Jun 2017 15:58:36 +0000 (11:58 -0400)
commit5b0e6629be5958d70e1f3263b021f0e4038fc675
tree0e84e92122e4da2d6fa476c1ef34578ea771f6aa
parent821b2e294433f3b4e7db6911da5b0806c38d7bda
bpf: virtio_net: Report bpf_prog ID during XDP_QUERY_PROG

Add support to virtio_net to report bpf_prog ID during XDP_QUERY_PROG.

Signed-off-by: Martin KaFai Lau <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: Jason Wang <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/virtio_net.c