Skip to content

Commit a202dfe

Browse files
LorenzoBianconikuba-moo
authored andcommitted
net: airoha: Enable TSO/Scatter Gather for LAN port
Set net_device vlan_features in order to enable TSO and Scatter Gather for DSA user ports. Reviewed-by: Mateusz Polchlopek <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 35ea4f0 commit a202dfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/airoha/airoha_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ static int airoha_alloc_gdm_port(struct airoha_eth *eth,
25052505
NETIF_F_SG | NETIF_F_TSO |
25062506
NETIF_F_HW_TC;
25072507
dev->features |= dev->hw_features;
2508+
dev->vlan_features = dev->hw_features;
25082509
dev->dev.of_node = np;
25092510
dev->irq = qdma->irq;
25102511
SET_NETDEV_DEV(dev, eth->dev);

0 commit comments

Comments
 (0)