]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Fix implementation of tx push operation.
authorMichael Chan <mchan@broadcom.com>
Wed, 10 Feb 2016 22:33:49 +0000 (17:33 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:52 +0000 (17:36 -0700)
commit81b472a631c664fadd6ee1496d6b81a7578f87ca
tree50b1a177609991e07def20006ef73d19262c5e25
parent10911bc52c95b3b16811c01ef317495037114e6b
bnxt_en: Fix implementation of tx push operation.

Orabug: 23221795

tx push is supported for small packets to reduce DMA latency.  The
following bugs are fixed in this patch:

1. Fix the definition of the push BD which is different from the DMA BD.
2. The push buffer has to be zero padded to the next 64-bit word boundary
or tx checksum won't be correct.
3. Increase the tx push packet threshold to 164 bytes (192 bytes with the BD)
so that small tunneled packets are within the threshold.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4419dbe6a0f031ddb2df4cd993805546a566d20e)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h