Skip to content

Commit

Permalink
bnxt_en: Pad TX packets below 52 bytes.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Chan authored and David S. Miller committed Sep 20, 2016
1 parent 001154e commit 4ffcd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/broadcom/bnxt/bnxt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4ffcd58

Please sign in to comment.