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)
commit83469893204281ecf65d572bddf02de29a19787c
tree8b08bba2349afa54988541907922a6e29aea6d12
parentd7e2c827cca865a39fb65d9f9528e79fcf2359d7
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: 0f3154e6bcb3 ("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