Commit e7799c5f authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller

bnx2x: MTU Filter

Too big packets could pass due to wrong filter size
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26c8fa4d
...@@ -4543,7 +4543,7 @@ static void bnx2x_set_client_config(struct bnx2x *bp) ...@@ -4543,7 +4543,7 @@ static void bnx2x_set_client_config(struct bnx2x *bp)
int port = BP_PORT(bp); int port = BP_PORT(bp);
int i; int i;
tstorm_client.mtu = bp->dev->mtu + ETH_OVREHEAD; tstorm_client.mtu = bp->dev->mtu;
tstorm_client.statistics_counter_id = BP_CL_ID(bp); tstorm_client.statistics_counter_id = BP_CL_ID(bp);
tstorm_client.config_flags = tstorm_client.config_flags =
TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE; TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment