net/ice: fix build with 16-byte Rx descriptor in DCF
authorTing Xu <ting.xu@intel.com>
Fri, 3 Jul 2020 08:57:10 +0000 (16:57 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commitf3fddc93de16dbd3acdb859699601aef948e3e1e
tree599835fd31759ed021b886a9556a6f83abd9a6b7
parentdb1162b458e1145e42a4e1b587b507624838586e
net/ice: fix build with 16-byte Rx descriptor in DCF

Fix the build error in DCF when CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC
compilation option is enabled. Legacy 16 byte Rx descriptor is not
supported in DCF. If it is enabled, DCF configuration stops.

Fixes: 929eceefaba7 ("net/ice: add queue start and stop for DCF")

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_dcf.c
drivers/net/ice/ice_dcf_ethdev.c