]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
igb: add correct exception tracing for XDP
authorMagnus Karlsson <magnus.karlsson@intel.com>
Mon, 10 May 2021 09:38:52 +0000 (11:38 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 15 Jul 2021 17:23:18 +0000 (19:23 +0200)
commitc3e7dd449e92926adc9c638ce2bda227cdece0e1
treeb070bfca425908d0ceabbd29ad246a431e2cbe7c
parentef00eb232b4f69ace7c9b442783ab0e1650da3f7
igb: add correct exception tracing for XDP

BugLink: https://bugs.launchpad.net/bugs/1933691
[ Upstream commit 74431c40b9c5fa673fff83ec157a76a69efd5c72 ]

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: 9cbc948b5a20 ("igb: add XDP support")
Reported-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Tested-by: Vishakha Jambekar <vishakha.jambekar@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/net/ethernet/intel/igb/igb_main.c