forked from Minki/linux
cxgb4: Update comment for min_mtu
We have lost a comment for minimum mtu value set for netdevice with
'commit d894be57ca
("ethernet: use net core MTU range checking in
more drivers"). Updating it accordingly.
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4efac6ff4d
commit
a047fbae23
@ -5024,7 +5024,7 @@ static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
netdev->priv_flags |= IFF_UNICAST_FLT;
|
||||
|
||||
/* MTU range: 81 - 9600 */
|
||||
netdev->min_mtu = 81;
|
||||
netdev->min_mtu = 81; /* accommodate SACK */
|
||||
netdev->max_mtu = MAX_MTU;
|
||||
|
||||
netdev->netdev_ops = &cxgb4_netdev_ops;
|
||||
|
Loading…
Reference in New Issue
Block a user