net/iavf: fix RXDID configure
authorJeff Guo <jia.guo@intel.com>
Mon, 9 Nov 2020 06:05:17 +0000 (14:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commit22e294e0e664263caa152b701e24e315cdafae48
treefc2f2a8fd5b315f175883c3db14b6cfba2d411fb
parent7a483d58db54e54201739e6b6e359078f07ed48d
net/iavf: fix RXDID configure

When configure Rx queue by virtchnnl, the RXDID (Rx Descriptor ID)
should be configured only if the Rx queue has been set up.

Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Tested-by: Yingya Han <yingyax.han@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_vchnl.c