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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:18:09 +0000 (20:18 +0100)
commit0e2dee9a6b26fb904bb21f9be6e36a62fe5cd410
tree6463a13d79432d10383fb7554ec7fa12205c9da1
parent15741c05a8893c770090f66ea0785bd4177f9999
ionic: account for vlan tag len in rx buffer len

[ Upstream commit 83469893204281ecf65d572bddf02de29a19787c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c