net/ice: fix wrong rxdid
PATCH 1/1 net/ice: fix wrong rxdid
Since DPDK 20.11 the default rxdid is changed from 16 to 22, but the DCF data path didn't change, the patch fix the gap.
--- drivers/net/ice/ice_dcf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/ice/ice_dcf.c +3 -3
@@ -847,7 +847,7 @@ ice_dcf_init_rss(struct ice_dcf_hw *hw)#define IAVF_RXDID_LEGACY_0 0#define IAVF_RXDID_LEGACY_1 1 -#define IAVF_RXDID_COMMS_GENERIC 16 +#define IAVF_RXDID_COMMS_OVS_1 22int ice_dcf_configure_queues (struct ice_dcf_hw *hw)
@@ -895,8 +895,8 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)if (hw->vf_res->vf_cap_flags &VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && hw->supported_rxdid & -BIT (IAVF_RXDID_COMMS_GENERIC )) { - vc_qp->rxq.rxdid =IAVF_RXDID_COMMS_GENERIC ; +BIT (IAVF_RXDID_COMMS_OVS_1 )) { + vc_qp->rxq.rxdid =IAVF_RXDID_COMMS_OVS_1 ;PMD_DRV_LOG (NOTICE ,"request RXDID == %d in " "Queue[%d]" , vc_qp->rxq.rxdid, i); }else {
Signature · 1 line
2.26.2
Quoted 8 lines
-----Original Message-----
From: Zhang, Qi Z <[email protected]>
Sent: Tuesday, August 17, 2021 11:41 AM
To: Yang, Qiming <[email protected]>
Cc: Huang, ZhiminX <[email protected]>; [email protected]; Zhang, Qi Z <[email protected]>; [email protected]
Subject: [PATCH] net/ice: fix wrong rxdid
Quoted 8 lines
Since DPDK 20.11 the default rxdid is changed from 16 to 22, but the DCF data path didn't change, the patch fix the gap.
Fixes 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22")Signed-off-by Qi Zhang <[email protected]>---
Zhang, Qi Z
AppliedQuoted 21 lines
-----Original Message-----
From: Huang, ZhiminX <[email protected]>
Sent: Tuesday, August 17, 2021 4:00 PM
To: Zhang, Qi Z <[email protected]>; Yang, Qiming <[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: [PATCH] net/ice: fix wrong rxdidQuoted 11 lines
-----Original Message-----
From: Zhang, Qi Z <[email protected]>
Sent: Tuesday, August 17, 2021 11:41 AM
To: Yang, Qiming <[email protected]>
Cc: Huang, ZhiminX <[email protected]>; [email protected]; Zhang, Qi Z <[email protected]>; [email protected]
Subject: [PATCH] net/ice: fix wrong rxdidSince DPDK 20.11 the default rxdid is changed from 16 to 22, but the DCF data path didn't change, the patch fix the gap.
Quoted 7 lines
Quoted 5 lines
Fixes 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22")Signed-off-by Qi Zhang <[email protected]>---
Tested-by Zhimin Huang <[email protected] >
Applied to dpdk-next-net-intel.
Thanks
Qi