bnxt_en: Pad TX packets below 52 bytes.

The hardware has a limitation that it won't pass host to BMC loopback
packets below 52-bytes.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michael Chan 2016-09-19 03:58:07 -04:00 committed by David S. Miller
parent 001154eb24
commit 4ffcd58230
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ struct rx_tpa_end_cmp_ext {
#define BNXT_RX_PAGE_SIZE (1 << BNXT_RX_PAGE_SHIFT)
#define BNXT_MIN_PKT_SIZE 45
#define BNXT_MIN_PKT_SIZE 52
#define BNXT_NUM_TESTS(bp) 0