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 590F3A0548; Tue, 17 Aug 2021 05:38:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1CDD4115B; Tue, 17 Aug 2021 05:38:18 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 32F5040143; Tue, 17 Aug 2021 05:38:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10078"; a="215986639" X-IronPort-AV: E=Sophos;i="5.84,327,1620716400"; d="scan'208";a="215986639" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2021 20:38:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,327,1620716400"; d="scan'208";a="520275961" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by FMSMGA003.fm.intel.com with ESMTP; 16 Aug 2021 20:38:13 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: zhiminx.huang@intel.com, dev@dpdk.org, Qi Zhang , stable@dpdk.org Date: Tue, 17 Aug 2021 11:41:23 +0800 Message-Id: <20210817034123.1794691-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/ice: fix wrong rxdid 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" Since DPDK 20.11 the default rxdid is changed from 16 to 22, but the DCF data path didn't change, the patch fix the gap. Fixes: 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22") Cc: stable@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/ice/ice_dcf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c index 4c2e0c7216..5b23cc90e0 100644 --- a/drivers/net/ice/ice_dcf.c +++ b/drivers/net/ice/ice_dcf.c @@ -847,7 +847,7 @@ ice_dcf_init_rss(struct ice_dcf_hw *hw) #define IAVF_RXDID_LEGACY_0 0 #define IAVF_RXDID_LEGACY_1 1 -#define IAVF_RXDID_COMMS_GENERIC 16 +#define IAVF_RXDID_COMMS_OVS_1 22 int ice_dcf_configure_queues(struct ice_dcf_hw *hw) @@ -895,8 +895,8 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw) if (hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && hw->supported_rxdid & - BIT(IAVF_RXDID_COMMS_GENERIC)) { - vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_GENERIC; + BIT(IAVF_RXDID_COMMS_OVS_1)) { + vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; PMD_DRV_LOG(NOTICE, "request RXDID == %d in " "Queue[%d]", vc_qp->rxq.rxdid, i); } else { -- 2.26.2