ramips: add jumbo frame support for v4.9
[lede-git/.git] / target / linux / ramips / files-4.9 / drivers / net / ethernet / mtk / soc_mt7621.c
index 3a8653e5e2b51ec99a302cc616bdeb31f63c8edb..ce41b342e754a77f027935dabcb67853ab3910f0 100644 (file)
@@ -139,7 +139,7 @@ static void mt7621_init_data(struct fe_soc_data *data,
 
        priv->flags = FE_FLAG_PADDING_64B | FE_FLAG_RX_2B_OFFSET |
                FE_FLAG_RX_SG_DMA | FE_FLAG_NAPI_WEIGHT |
-               FE_FLAG_HAS_SWITCH;
+               FE_FLAG_HAS_SWITCH | FE_FLAG_JUMBO_FRAME;
 
        netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
                NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_SG | NETIF_F_TSO |