net/ice: fix build with 16-byte Rx descriptor
authorYiding Zhou <yidingx.zhou@intel.com>
Tue, 8 Feb 2022 15:42:19 +0000 (15:42 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 10 Feb 2022 09:32:03 +0000 (10:32 +0100)
commit94005e4640a7d1e10e9b6b89e9a31890c578192f
tree1c871e47db777c3e000cc0ede9c93848dba2c244
parent01b8739f476dbccc18d66f60bff3df91804ef634
net/ice: fix build with 16-byte Rx descriptor

gcc will report error "unused parameter 'rxq'" when the macro
RTE_LIBRTE_ICE_16BYTE_RX_DESC is defined. use RTE_SET_USED to avoid it

Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
Cc: stable@dpdk.org
Signed-off-by: Yiding Zhou <yidingx.zhou@intel.com>
Tested-by: Wei Ling <weix.ling@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c