]> asedeno.scripts.mit.edu Git - linux.git/commit
xdp: Provide extack messages when prog attachment failed
authorMaciej Fijalkowski <maciejromanfijalkowski@gmail.com>
Fri, 1 Feb 2019 21:42:27 +0000 (22:42 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Feb 2019 22:37:51 +0000 (23:37 +0100)
commit01dde20ce04b3a18f1e91d6d1ee0ef484d20bbf2
treed7ea9a4da4e887d66dc62250786073aab47d40ac
parent6a5457618f62147aeac706d26ff28e0e57a324e3
xdp: Provide extack messages when prog attachment failed

In order to provide more meaningful messages to user when the process of
loading xdp program onto network interface failed, let's add extack
messages within dev_change_xdp_fd.

Suggested-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/dev.c