bnxt_en: Increase maximum supported MTU to 9500.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 1 Jul 2016 22:46:26 +0000 (18:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:52:36 +0000 (14:52 -0400)
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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c

index 28a5aee1f2d9c2c176e1bc55f4b35e83eb330bb8..9134268548a335c71a4c30fa536581a4c9b18059 100644 (file)
@@ -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))