aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-10-14 01:31:03 -0400
committerDavid S. Miller <davem@davemloft.net>2011-10-17 19:00:54 -0400
commit076f203258c5b8f07226ba41c4643d958785bb07 (patch)
tree2757999b44f098373a2c45da2b8daeaeca47d9c1 /drivers/net/ethernet
parent921ddc19b91ed92ce9485e46a147a0a49fabc69c (diff)
ehea: Add vlan_features
We weren't enabling any VLAN features so we missed out on checksum offload and TSO when using VLANs. Enable them. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/ibm/ehea/ehea_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c
index 0cb3a9bc732d..13218092769c 100644
--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c
+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c
@@ -3190,6 +3190,8 @@ struct ehea_port *ehea_setup_single_port(struct ehea_adapter *adapter,
3190 | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_TX 3190 | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_TX
3191 | NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER 3191 | NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER
3192 | NETIF_F_RXCSUM; 3192 | NETIF_F_RXCSUM;
3193 dev->vlan_features = NETIF_F_SG | NETIF_F_TSO | NETIF_F_HIGHDMA |
3194 NETIF_F_IP_CSUM;
3193 dev->watchdog_timeo = EHEA_WATCH_DOG_TIMEOUT; 3195 dev->watchdog_timeo = EHEA_WATCH_DOG_TIMEOUT;
3194 3196
3195 if (use_lro) 3197 if (use_lro)