From: Haiyue Wang Date: Tue, 24 Sep 2019 02:38:04 +0000 (+0800) Subject: net/ice: add Rx flex descriptor definition X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae2e9514ee6ab077400587b1eb0d507d20b93f2e;p=dpdk.git net/ice: add Rx flex descriptor definition The Rx flex descriptor has 16B and 32B size, with different field definitions compared to legacy type. Signed-off-by: Haiyue Wang Reviewed-by: Xiaolong Ye Acked-by: Qi Zhang --- diff --git a/drivers/net/ice/ice_rxtx.h b/drivers/net/ice/ice_rxtx.h index e9214110c4..64e8918750 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