From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Duyck Subject: [net-next PATCH v2 8/8] net: Add NETIF_F_GSO_UDP_L4 to list of GSO offloads with fallback Date: Fri, 04 May 2018 11:31:55 -0700 Message-ID: <20180504183152.5194.43353.stgit@localhost.localdomain> References: <20180504182537.5194.72775.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-it0-f68.google.com ([209.85.214.68]:55633 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751563AbeEDSb6 (ORCPT ); Fri, 4 May 2018 14:31:58 -0400 Received: by mail-it0-f68.google.com with SMTP id 144-v6so4458949iti.5 for ; Fri, 04 May 2018 11:31:58 -0700 (PDT) In-Reply-To: <20180504182537.5194.72775.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