From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Duyck Subject: [net-next PATCH 5/5] net: Add NETIF_F_GSO_UDP_L4 to list of GSO offloads with fallback Date: Thu, 03 May 2018 17:33:46 -0700 Message-ID: <20180504003346.4496.46205.stgit@localhost.localdomain> References: <20180504002817.4496.64616.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org, willemb@google.com, davem@davemloft.net Return-path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:41137 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbeEDAds (ORCPT ); Thu, 3 May 2018 20:33:48 -0400 Received: by mail-pg0-f68.google.com with SMTP id m21-v6so14284102pgv.8 for ; Thu, 03 May 2018 17:33:48 -0700 (PDT) In-Reply-To: <20180504002817.4496.64616.stgit@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: From: Alexander Duyck Enable UDP offload as a generic software offload since we can now handle it for multiple cases including if the checksum isn't present and via gso_partial in the case of tunnels. Signed-off-by: Alexander Duyck --- include/linux/netdev_features.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index c87c3a3453c1..efbd8b2c0197 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -184,7 +184,8 @@ enum { /* List of features with software fallbacks. */ #define NETIF_F_GSO_SOFTWARE (NETIF_F_ALL_TSO | \ - NETIF_F_GSO_SCTP) + NETIF_F_GSO_SCTP| \ + NETIF_F_GSO_UDP_L4) /* * If one device supports one of these features, then enable them