diff options
author | Michael Chan <michael.chan@broadcom.com> | 2016-09-19 09:58:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-20 03:32:25 +0200 |
commit | 4ffcd582301bd020b1f9d00c55473af305ec19b5 (patch) | |
tree | b7e8f7fda2ee5d9b50f15c013302e09cf34cd0ae /drivers/net/ethernet/broadcom | |
parent | bnxt_en: Call firmware to approve the random VF MAC address. (diff) | |
download | linux-4ffcd582301bd020b1f9d00c55473af305ec19b5.tar.xz linux-4ffcd582301bd020b1f9d00c55473af305ec19b5.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h index 41033d01fe8d..51b164a0e844 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h @@ -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 |