be2net: reduce gso_max_size setting to account for ethernet header.
The maximum size of packet that can be handled by controller including ethernet header is 65535. Reducing gso_max_size accordingly. Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b6138ed604
commit
b7e5887e0e
1 changed files with 1 additions and 1 deletions
|
@ -3237,7 +3237,7 @@ static void be_netdev_init(struct net_device *netdev)
|
|||
|
||||
netdev->flags |= IFF_MULTICAST;
|
||||
|
||||
netif_set_gso_max_size(netdev, 65535);
|
||||
netif_set_gso_max_size(netdev, 65535 - ETH_HLEN);
|
||||
|
||||
netdev->netdev_ops = &be_netdev_ops;
|
||||
|
||||
|
|
Loading…
Reference in a new issue