forked from Minki/linux
bnxt_en: Increase maximum supported MTU to 9500.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
550feebf5c
commit
dc7aadb513
@ -6049,7 +6049,7 @@ static int bnxt_change_mtu(struct net_device *dev, int new_mtu)
|
||||
{
|
||||
struct bnxt *bp = netdev_priv(dev);
|
||||
|
||||
if (new_mtu < 60 || new_mtu > 9000)
|
||||
if (new_mtu < 60 || new_mtu > 9500)
|
||||
return -EINVAL;
|
||||
|
||||
if (netif_running(dev))
|
||||
|
Loading…
Reference in New Issue
Block a user