summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-10-25 15:12:33 -0700
committerJesse Gross <jesse@nicira.com>2013-11-01 18:17:50 -0700
commit3cdb35b074142c915a463c535839886ae08fdfd4 (patch)
tree09f9705f9e51886088d401b4595614fd904a9abb /net/openvswitch
parent1bd7116f1cb833c998cddb6b188df463342069d8 (diff)
downloadop-kernel-dev-3cdb35b074142c915a463c535839886ae08fdfd4.zip
op-kernel-dev-3cdb35b074142c915a463c535839886ae08fdfd4.tar.gz
openvswitch: Enable all GSO features on internal port.
OVS already can handle all types of segmentation offloads that are supported by the kernel. Following patch specifically enables UDP and IPV6 segmentation offloads. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/vport-internal_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
index 98d3edb..729c687 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -134,7 +134,7 @@ static void do_setup(struct net_device *netdev)
netdev->tx_queue_len = 0;
netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST |
- NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_TSO;
+ NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
netdev->vlan_features = netdev->features;
netdev->features |= NETIF_F_HW_VLAN_CTAG_TX;
OpenPOWER on IntegriCloud