]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: account for vlan tag len in rx buffer len
authorShannon Nelson <snelson@pensando.io>
Fri, 18 Dec 2020 21:50:01 +0000 (13:50 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Dec 2020 01:32:14 +0000 (17:32 -0800)
commit9a9f0a206b0f5de2a525c86372bc291331e2e4f8
tree8b08bba2349afa54988541907922a6e29aea6d12
parent76699f6e5937a746dd8c081a8ff2013e455887ee
ionic: account for vlan tag len in rx buffer len

Let the FW know we have enough receive buffer space for the
vlan tag if it isn't stripped.

Fixes: 5931eb5d68ae ("ionic: Add Tx and Rx handling")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Link: https://lore.kernel.org/r/20201218215001.64696-1-snelson@pensando.io
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c