From patchwork Fri Jan 8 07:17:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Yang X-Patchwork-Id: 86174 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98C58A0524; Fri, 8 Jan 2021 08:21:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80B44140E1A; Fri, 8 Jan 2021 08:21:34 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 681AA140E0F for ; Fri, 8 Jan 2021 08:21:33 +0100 (CET) IronPort-SDR: q+cwcsCdbwzpdMcp4ROulyHA1VswBUJNSpsGuJQ2nVAhCeF9+8anIn4Bfdc4GAfyif2Av6F8MI N2WEK6s6g3WQ== X-IronPort-AV: E=McAfee;i="6000,8403,9857"; a="177704176" X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="177704176" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2021 23:21:32 -0800 IronPort-SDR: p8FuzIcTRw88ij3acXP+3gkhGDE5SJfMDwBkh77y1LEKdp1FagHinxcL8epbqkJeOF3dqqk9Xn wOD65kNsvyoA== X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="380029354" Received: from unknown (HELO intel-npg-odc-srv02.cd.intel.com) ([10.240.178.186]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2021 23:21:30 -0800 From: Murphy Yang To: dev@dpdk.org Cc: qiming.yang@intel.com, wenzhuo.lu@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com, Murphy Yang Date: Fri, 8 Jan 2021 07:17:52 +0000 Message-Id: <20210108071752.6505-1-murphyx.yang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] net/ice: disable IPv4 checksum offload in vector path 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 Sender: "dev" ICE choices vector TX path or basic TX path by macro 'ICE_NO_VECTOR_FLAGS'. This patch adds 'DEV_TX_OFFLOAD_IPV4_CKSUM' in 'ICE_NO_VECTOR_FLAGS' to make IPv4 checksum offload processed by basic TX path. Fixes: a22483208800 ("net/ice: disable TSO offload in vector path") Signed-off-by: Murphy Yang Acked-by: Qi Zhang --- drivers/net/ice/ice_rxtx_vec_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h index ae2ac29f2a..c09ac7f667 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -266,6 +266,7 @@ ice_rx_vec_queue_default(struct ice_rx_queue *rxq) #define ICE_NO_VECTOR_FLAGS ( \ DEV_TX_OFFLOAD_MULTI_SEGS | \ DEV_TX_OFFLOAD_VLAN_INSERT | \ + DEV_TX_OFFLOAD_IPV4_CKSUM | \ DEV_TX_OFFLOAD_SCTP_CKSUM | \ DEV_TX_OFFLOAD_UDP_CKSUM | \ DEV_TX_OFFLOAD_TCP_TSO | \