[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1470897812-8213-4-git-send-email-roopa@cumulusnetworks.com>
Date: Wed, 10 Aug 2016 23:43:32 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: dsa@...ulusnetworks.com, buytenh@...tstofly.org,
ebiederm@...ssion.com, rshearma@...cade.com,
simon.horman@...ronome.com, tom@...bertland.com, tgraf@...g.ch,
olivier.dugeon@...nge.com
Subject: [PATCH net-next 3/3] net: veth: set features for MPLS
From: David Ahern <dsa@...ulusnetworks.com>
With hw checksum and gso set, netperf through veth for mpls is
on par without mpls.
Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
Reported-by: Lennert Buytenhek <buytenh@...tstofly.org>
---
drivers/net/veth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index f37a6e6..5db320a 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -340,6 +340,7 @@ static void veth_setup(struct net_device *dev)
dev->hw_features = VETH_FEATURES;
dev->hw_enc_features = VETH_FEATURES;
+ dev->mpls_features = NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
}
/*
--
1.9.1
Powered by blists - more mailing lists