]> git.baikalelectronics.ru Git - kernel.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)
commit2b899d624892185caf8b8b552a29796395229750
tree3eff3f4eb359bc5ad888c663aee17ef959adbb91
parentb29c800e3b9de90235add562f7f2481cdb839e2b
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