igb: XDP extack message on error
authorSven Auhagen <sven.auhagen@voleatech.de>
Wed, 11 Nov 2020 17:04:50 +0000 (18:04 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Dec 2020 23:26:58 +0000 (15:26 -0800)
commit2e2bb5594ca0a5885dc93055ab0f9b5fbcdaa403
tree0996541cb7f68dfd7a85572ec459df78c2522c02
parentb829ec1a66bc3dda4b01ab4c57d41ad1a1f82fed
igb: XDP extack message on error

Add an extack error message when the RX buffer size is too small
for the frame size.

Fixes: 9cbc948b5a20 ("igb: add XDP support")
Suggested-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c