mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:56:47 +07:00
bnx2x: MTU Filter
Too big packets could pass due to wrong filter size Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
26c8fa4d8a
commit
e7799c5f79
@ -4543,7 +4543,7 @@ static void bnx2x_set_client_config(struct bnx2x *bp)
|
||||
int port = BP_PORT(bp);
|
||||
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.config_flags =
|
||||
TSTORM_ETH_CLIENT_CONFIG_STATSITICS_ENABLE;
|
||||
|
Loading…
Reference in New Issue
Block a user