cxgb4: Update comment for min_mtu
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 3 Oct 2017 06:13:05 +0000 (11:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 16:55:41 +0000 (09:55 -0700)
We have lost a comment for minimum mtu value set for netdevice with
'commit d894be57ca92 ("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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

index 13b636b0af5fccdefa17f51887d551d17e9e71b0..fe4cbe22d5d73e0168c31005d803fababbcade15 100644 (file)
@@ -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;