]> git.ipfire.org Git - thirdparty/linux.git/commit
net: mana: Add handling of CQE_RX_TRUNCATED
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 4 Feb 2022 22:45:44 +0000 (14:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Feb 2022 15:26:00 +0000 (15:26 +0000)
commite4b7621982d29f26ff4d39af389e5e675a4ffed4
tree3eff3f4eb359bc5ad888c663aee17ef959adbb91
parent8f4f9c93c7049ad56eb6158883a8ce9857b04abe
net: mana: Add handling of CQE_RX_TRUNCATED

The proper way to drop this kind of CQE is advancing rxq tail
without indicating the packet to the upper network layer.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana_en.c