OSDN Git Service

tg3: Add workaround to restrict 5762 MRRS to 2048
authorSiva Reddy Kallam <siva.kallam@broadcom.com>
Fri, 22 Dec 2017 10:35:28 +0000 (16:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 16:08:56 +0000 (11:08 -0500)
commit4419bb1cedcda0272e1dc410345c5a1d1da0e367
tree37be8698ba368fba8173d200d061950750f6551e
parent5a8bae9761dc5dd409ff5c3a529b2801bd0dac3a
tg3: Add workaround to restrict 5762 MRRS to 2048

One of AMD based server with 5762 hangs with jumbo frame traffic.
This AMD platform has southbridge limitation which is restricting MRRS
to 4000. As a work around, driver to restricts the MRRS to 2048 for
this particular 5762 NX1 card.

Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h