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 <haiyue.wang@intel.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
This commit is contained in:
parent
56270b4208
commit
ae2e9514ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user