]> git.baikalelectronics.ru Git - kernel.git/commit
igc: add correct exception tracing for XDP
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 10 May 2021 09:38:54 +0000 (11:38 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 3 Jun 2021 15:38:37 +0000 (08:38 -0700)
commit45ce08594ec3a9f81a6dedeccd1ec785e6907405
treed3b46a09cc2d36a3b79a6600ff6219dfd7525970
parentfaae81420d162551b6ef2d804aafc00f4cd68e0e
igc: add correct exception tracing for XDP

Add missing exception tracing to XDP when a number of different
errors can occur. The support was only partial. Several errors
where not logged which would confuse the user quite a lot not
knowing where and why the packets disappeared.

Fixes: 73f1071c1d29 ("igc: Add support for XDP_TX action")
Fixes: 4ff320361092 ("igc: Add support for XDP_REDIRECT action")
Reported-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c