]> git.baikalelectronics.ru Git - kernel.git/commit
ice: add correct exception tracing for XDP
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 10 May 2021 09:38:50 +0000 (11:38 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 3 Jun 2021 15:38:37 +0000 (08:38 -0700)
commit89d65df024c59988291f643b4e45d1528c51aef9
tree413008533c9ba9e8dbe4819f0c41af07d3ff3918
parentf6c10b48f8c8da44adaff730d8e700b6272add2b
ice: 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: efc2214b6047 ("ice: Add support for XDP")
Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Reported-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx.c
drivers/net/ethernet/intel/ice/ice_xsk.c