diff options
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r-- | drivers/net/mlx4/en_netdev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c index 37e4d30cbf04..0a7e78ade63f 100644 --- a/drivers/net/mlx4/en_netdev.c +++ b/drivers/net/mlx4/en_netdev.c | |||
@@ -1038,7 +1038,9 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, | |||
1038 | * Set driver features | 1038 | * Set driver features |
1039 | */ | 1039 | */ |
1040 | dev->features |= NETIF_F_SG; | 1040 | dev->features |= NETIF_F_SG; |
1041 | dev->vlan_features |= NETIF_F_SG; | ||
1041 | dev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; | 1042 | dev->features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; |
1043 | dev->vlan_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; | ||
1042 | dev->features |= NETIF_F_HIGHDMA; | 1044 | dev->features |= NETIF_F_HIGHDMA; |
1043 | dev->features |= NETIF_F_HW_VLAN_TX | | 1045 | dev->features |= NETIF_F_HW_VLAN_TX | |
1044 | NETIF_F_HW_VLAN_RX | | 1046 | NETIF_F_HW_VLAN_RX | |
@@ -1048,6 +1050,8 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, | |||
1048 | if (mdev->LSO_support) { | 1050 | if (mdev->LSO_support) { |
1049 | dev->features |= NETIF_F_TSO; | 1051 | dev->features |= NETIF_F_TSO; |
1050 | dev->features |= NETIF_F_TSO6; | 1052 | dev->features |= NETIF_F_TSO6; |
1053 | dev->vlan_features |= NETIF_F_TSO; | ||
1054 | dev->vlan_features |= NETIF_F_TSO6; | ||
1051 | } | 1055 | } |
1052 | 1056 | ||
1053 | mdev->pndev[port] = dev; | 1057 | mdev->pndev[port] = dev; |