nfp: bpf: plumb extack into functions related to XDP offload
authorQuentin Monnet <quentin.monnet@netronome.com>
Sat, 20 Jan 2018 01:44:49 +0000 (17:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:28:32 +0000 (16:28 -0500)
commitacc2abbbb1b9fb8a018706055794feb4bb9bcdbc
treed66b2463bb822b8d54f9d1992c3ac8f01ed8e6bf
parentf9eda14f039294298643d034bc5c06340fe16cc0
nfp: bpf: plumb extack into functions related to XDP offload

Pass a pointer to an extack object to nfp_app_xdp_offload() in order to
prepare for extack usage in the nfp driver. Next step will be to forward
this extack pointer to nfp_net_bpf_offload(), once this function is able
to use it for printing error messages.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/bpf/main.c
drivers/net/ethernet/netronome/nfp/nfp_app.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c