summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-09-19 09:58:07 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-20 03:32:25 +0200
commit4ffcd582301bd020b1f9d00c55473af305ec19b5 (patch)
treeb7e8f7fda2ee5d9b50f15c013302e09cf34cd0ae
parentbnxt_en: Call firmware to approve the random VF MAC address. (diff)
downloadlinux-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>
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt.h2
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