DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ice: fix wrong rxdid
@ 2021-08-17  3:41 Qi Zhang
  2021-08-17  8:00 ` Huang, ZhiminX
  0 siblings, 1 reply; 3+ messages in thread
From: Qi Zhang @ 2021-08-17  3:41 UTC (permalink / raw)
  To: qiming.yang; +Cc: zhiminx.huang, dev, Qi Zhang, stable

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")
Cc: stable@dpdk.org

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
 drivers/net/ice/ice_dcf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
index 4c2e0c7216..5b23cc90e0 100644
--- a/drivers/net/ice/ice_dcf.c
+++ b/drivers/net/ice/ice_dcf.c
@@ -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 22
 
 int
 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 {
-- 
2.26.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ice: fix wrong rxdid
  2021-08-17  3:41 [dpdk-dev] [PATCH] net/ice: fix wrong rxdid Qi Zhang
@ 2021-08-17  8:00 ` Huang, ZhiminX
  2021-08-29 11:03   ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Huang, ZhiminX @ 2021-08-17  8:00 UTC (permalink / raw)
  To: Zhang, Qi Z, Yang, Qiming; +Cc: dev, stable

> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang@intel.com>
> Sent: Tuesday, August 17, 2021 11:41 AM
> To: Yang, Qiming <qiming.yang@intel.com>
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>; dev@dpdk.org; Zhang,
> Qi Z <qi.z.zhang@intel.com>; stable@dpdk.org
> Subject: [PATCH] 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.
> 
> Fixes: 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
> ---

Tested-by: Zhimin Huang <zhiminx.huang@intel.com >



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ice: fix wrong rxdid
  2021-08-17  8:00 ` Huang, ZhiminX
@ 2021-08-29 11:03   ` Zhang, Qi Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2021-08-29 11:03 UTC (permalink / raw)
  To: Huang, ZhiminX, Yang, Qiming; +Cc: dev, stable



> -----Original Message-----
> From: Huang, ZhiminX <zhiminx.huang@intel.com>
> Sent: Tuesday, August 17, 2021 4:00 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org
> Subject: RE: [PATCH] net/ice: fix wrong rxdid
> 
> > -----Original Message-----
> > From: Zhang, Qi Z <qi.z.zhang@intel.com>
> > Sent: Tuesday, August 17, 2021 11:41 AM
> > To: Yang, Qiming <qiming.yang@intel.com>
> > Cc: Huang, ZhiminX <zhiminx.huang@intel.com>; dev@dpdk.org; Zhang, Qi
> > Z <qi.z.zhang@intel.com>; stable@dpdk.org
> > Subject: [PATCH] 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.
> >
> > Fixes: 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
> > ---
> 
> Tested-by: Zhimin Huang <zhiminx.huang@intel.com >

Applied to dpdk-next-net-intel.

Thanks
Qi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-29 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17  3:41 [dpdk-dev] [PATCH] net/ice: fix wrong rxdid Qi Zhang
2021-08-17  8:00 ` Huang, ZhiminX
2021-08-29 11:03   ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).