linux/drivers/net/ethernet/netronome/nfp
Daniel Borkmann 4d463c4dbc xdp: use common helper for netlink extended ack reporting
Small follow-up to d74a32acd5 ("xdp: use netlink extended ACK reporting")
in order to let drivers all use the same NL_SET_ERR_MSG_MOD() helper macro
for reporting. This also ensures that we consistently add the driver's
prefix for dumping the report in user space to indicate that the error
message is driver specific and not coming from core code. Furthermore,
NL_SET_ERR_MSG_MOD() now reuses NL_SET_ERR_MSG() and thus makes all macros
check the pointer as suggested.

References: https://www.spinics.net/lists/netdev/msg433267.html
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-03 09:51:24 -04:00
..
nfpcore nfp: don't completely refuse to work with old flashes 2017-04-30 22:37:00 -04:00
Makefile nfp: add NSP routine to get static information 2017-04-24 14:35:44 -04:00
nfp_asm.h nfp: add BPF to NFP code translator 2016-09-21 19:50:02 -04:00
nfp_bpf_jit.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_bpf_verifier.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf.h bitfield.h: add FIELD_FIT() helper 2017-02-10 15:52:24 -05:00
nfp_main.c nfp: add NSP routine to get static information 2017-04-24 14:35:44 -04:00
nfp_main.h nfp: add port state refresh 2017-04-05 10:49:12 -07:00
nfp_net_common.c xdp: use common helper for netlink extended ack reporting 2017-05-03 09:51:24 -04:00
nfp_net_ctrl.h nfp: add support for .get_link_ksettings() 2017-04-05 10:49:12 -07:00
nfp_net_debugfs.c nfp: remove RX queue pointers 2017-03-22 12:59:09 -07:00
nfp_net_ethtool.c nfp: make use of extended ack message reporting 2017-05-01 10:35:47 -04:00
nfp_net_main.c nfp: remove the refresh of all ports optimization 2017-04-24 14:35:44 -04:00
nfp_net_offload.c nfp: replace -ENOTSUPP with -EOPNOTSUPP 2017-04-30 22:37:00 -04:00
nfp_net.h nfp: make use of extended ack message reporting 2017-05-01 10:35:47 -04:00
nfp_netvf_main.c nfp: move control BAR pointer into data path structure 2017-03-12 23:43:17 -07:00