bpftool: print program device bound info
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 3 Nov 2017 20:56:19 +0000 (13:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 13:26:19 +0000 (22:26 +0900)
commit928631e05495fa1f0e9775f555b94dbcbb4e2fb5
tree68e81ea982fa01410347eb397d94646a9f7f2942
parentbd601b6ada11fdfb9e277f24ad2eb54bc599156b
bpftool: print program device bound info

If program is bound to a device, print the name of the relevant
interface or unknown if the netdev has since been removed.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/bpf/bpftool/prog.c
tools/include/uapi/linux/bpf.h