提交 a047fbae 编写于 作者: A Arjun Vynipadath 提交者: David S. Miller

cxgb4: Update comment for min_mtu

We have lost a comment for minimum mtu value set for netdevice with
'commit d894be57 ("ethernet: use net core MTU range checking in
more drivers"). Updating it accordingly.
Signed-off-by: NArjun Vynipadath <arjun@chelsio.com>
Signed-off-by: NGanesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4efac6ff
...@@ -5024,7 +5024,7 @@ static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -5024,7 +5024,7 @@ static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
netdev->priv_flags |= IFF_UNICAST_FLT; netdev->priv_flags |= IFF_UNICAST_FLT;
/* MTU range: 81 - 9600 */ /* MTU range: 81 - 9600 */
netdev->min_mtu = 81; netdev->min_mtu = 81; /* accommodate SACK */
netdev->max_mtu = MAX_MTU; netdev->max_mtu = MAX_MTU;
netdev->netdev_ops = &cxgb4_netdev_ops; netdev->netdev_ops = &cxgb4_netdev_ops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册