]> 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)
commit117bfe8337b3f5162006db4dbd19a80fc1adb3d0
tree8b08bba2349afa54988541907922a6e29aea6d12
parent2e4924dbb6052bde1e82401f16feeb201e090434
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: 2afc07987ed0 ("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