From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 14710A0C4B; Wed, 24 Nov 2021 02:06:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F1B340040; Wed, 24 Nov 2021 02:06:34 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 58CFC4003C; Wed, 24 Nov 2021 02:06:32 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10177"; a="321409526" X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="321409526" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2021 17:06:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,258,1631602800"; d="scan'208";a="607022012" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by orsmga004.jf.intel.com with ESMTP; 23 Nov 2021 17:06:05 -0800 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, wei1.xu@intel.com, Qi Zhang , stable@dpdk.org Subject: [PATCH] net/ice: fix Tx checksum offload capability Date: Wed, 24 Nov 2021 09:09:28 +0800 Message-Id: <20211124010928.227875-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add missing capability for outer UDP Tx checksum. Also fixed the feature list in ice_dcf.ini Fixes: bf89db4409bb ("net/ice: complete device info get in DCF") Cc: stable@dpdk.org Signed-off-by: Qi Zhang --- doc/guides/nics/features/ice_dcf.ini | 5 +++++ drivers/net/ice/ice_dcf_ethdev.c | 1 + 2 files changed, 6 insertions(+) diff --git a/doc/guides/nics/features/ice_dcf.ini b/doc/guides/nics/features/ice_dcf.ini index 4d6fb6d849..54073f0b88 100644 --- a/doc/guides/nics/features/ice_dcf.ini +++ b/doc/guides/nics/features/ice_dcf.ini @@ -3,6 +3,9 @@ ; ; Refer to default.ini for the full list of available PMD features. ; +; A feature with "P" indicates only be supported when non-vector path +; is selected. +; [Features] Queue start/stop = Y Scattered Rx = Y @@ -10,6 +13,8 @@ RSS hash = P CRC offload = Y L3 checksum offload = P L4 checksum offload = P +Inner L3 checksum = P +Inner L4 checksum = P Basic stats = Y Linux = Y x86-32 = Y diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c index 28f7f7fb72..fb0d13e5ec 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -681,6 +681,7 @@ ice_dcf_dev_info_get(struct rte_eth_dev *dev, RTE_ETH_TX_OFFLOAD_TCP_CKSUM | RTE_ETH_TX_OFFLOAD_SCTP_CKSUM | RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | RTE_ETH_TX_OFFLOAD_TCP_TSO | RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | -- 2.26.2