net : stmmac: Add TSO support for VLAN

Enable TSO for Vlan interface.

Change-Id: I252e2e274c3039f23ee225149d820a0332de50fb
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
This commit is contained in:
Uppalamarthi Sowmya 2024-07-17 14:08:30 +05:30
parent daa59f32ec
commit e104505614

View File

@ -7477,6 +7477,7 @@ int stmmac_dvr_probe(struct device *device,
ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA;
ndev->watchdog_timeo = msecs_to_jiffies(watchdog);
#ifdef STMMAC_VLAN_TAG_USED
ndev->vlan_features |= ndev->hw_features;
/* Both mac100 and gmac support receive VLAN tag detection */
ndev->features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX;
if (priv->dma_cap.vlhash) {