From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9851CA2EFC for ; Tue, 17 Sep 2019 10:56:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B0FFA1BFAA; Tue, 17 Sep 2019 10:56:04 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E63252B91 for ; Tue, 17 Sep 2019 10:56:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2019 01:56:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,515,1559545200"; d="scan'208";a="177322352" Received: from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.187]) by orsmga007.jf.intel.com with ESMTP; 17 Sep 2019 01:55:59 -0700 From: Leyi Rong To: haiyue.wang@intel.com, wenzhuo.lu@intel.com, qi.z.zhang@intel.com, xiaolong.ye@intel.com Cc: dev@dpdk.org Date: Tue, 17 Sep 2019 16:53:13 +0800 Message-Id: <20190917085317.57598-2-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190917085317.57598-1-leyi.rong@intel.com> References: <20190829023421.112551-1-leyi.rong@intel.com> <20190917085317.57598-1-leyi.rong@intel.com> Subject: [dpdk-dev] [PATCH v3 1/5] net/ice: add Rx flex descriptor definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" From: Haiyue Wang The Rx flex descriptor has 16B and 32B size, with different field definitions compared to legacy type. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_rxtx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ice/ice_rxtx.h b/drivers/net/ice/ice_rxtx.h index e9214110c..64e891875 100644 --- a/drivers/net/ice/ice_rxtx.h +++ b/drivers/net/ice/ice_rxtx.h @@ -21,8 +21,10 @@ #ifdef RTE_LIBRTE_ICE_16BYTE_RX_DESC #define ice_rx_desc ice_16byte_rx_desc +#define ice_rx_flex_desc ice_16b_rx_flex_desc #else #define ice_rx_desc ice_32byte_rx_desc +#define ice_rx_flex_desc ice_32b_rx_flex_desc #endif #define ICE_SUPPORT_CHAIN_NUM 5 -- 2.17.1