patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] common/idpf: fix Rx queue configuration
@ 2023-02-23  3:16 beilei.xing
  2023-02-23  4:23 ` Wu, Jingjing
  0 siblings, 1 reply; 3+ messages in thread
From: beilei.xing @ 2023-02-23  3:16 UTC (permalink / raw)
  To: jingjing.wu; +Cc: dev, Beilei Xing, stable

From: Beilei Xing <beilei.xing@intel.com>

IDPF PMD enables 2 buffer queues by default. According to the data
sheet, if there is a second buffer queue, the second buffer queue
is valid only if bugq2_ena is set.

Fixes: c2494d783d31 ("net/idpf: support queue start")
Fixes: 8b95ced47a13 ("common/idpf: add Rx/Tx queue structs")
Cc: stable@dpdk.org

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 drivers/common/idpf/idpf_common_virtchnl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/common/idpf/idpf_common_virtchnl.c b/drivers/common/idpf/idpf_common_virtchnl.c
index 99d9efbb7c..9ee7259539 100644
--- a/drivers/common/idpf/idpf_common_virtchnl.c
+++ b/drivers/common/idpf/idpf_common_virtchnl.c
@@ -987,6 +987,7 @@ idpf_vc_rxq_config(struct idpf_vport *vport, struct idpf_rx_queue *rxq)
 
 		rxq_info->ring_len = rxq->nb_rx_desc;
 		rxq_info->rx_bufq1_id = rxq->bufq1->queue_id;
+		rxq_info->bufq2_ena = 1;
 		rxq_info->rx_bufq2_id = rxq->bufq2->queue_id;
 		rxq_info->rx_buffer_low_watermark = 64;
 
-- 
2.26.2


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

* RE: [PATCH] common/idpf: fix Rx queue configuration
  2023-02-23  3:16 [PATCH] common/idpf: fix Rx queue configuration beilei.xing
@ 2023-02-23  4:23 ` Wu, Jingjing
  2023-02-24  2:36   ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Wu, Jingjing @ 2023-02-23  4:23 UTC (permalink / raw)
  To: Xing, Beilei; +Cc: dev, stable



> -----Original Message-----
> From: Xing, Beilei <beilei.xing@intel.com>
> Sent: Thursday, February 23, 2023 11:17 AM
> To: Wu, Jingjing <jingjing.wu@intel.com>
> Cc: dev@dpdk.org; Xing, Beilei <beilei.xing@intel.com>; stable@dpdk.org
> Subject: [PATCH] common/idpf: fix Rx queue configuration
> 
> From: Beilei Xing <beilei.xing@intel.com>
> 
> IDPF PMD enables 2 buffer queues by default. According to the data
> sheet, if there is a second buffer queue, the second buffer queue
> is valid only if bugq2_ena is set.
> 
> Fixes: c2494d783d31 ("net/idpf: support queue start")
> Fixes: 8b95ced47a13 ("common/idpf: add Rx/Tx queue structs")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>

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

* RE: [PATCH] common/idpf: fix Rx queue configuration
  2023-02-23  4:23 ` Wu, Jingjing
@ 2023-02-24  2:36   ` Zhang, Qi Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2023-02-24  2:36 UTC (permalink / raw)
  To: Wu, Jingjing, Xing, Beilei; +Cc: dev, stable



> -----Original Message-----
> From: Wu, Jingjing <jingjing.wu@intel.com>
> Sent: Thursday, February 23, 2023 12:24 PM
> To: Xing, Beilei <beilei.xing@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org
> Subject: RE: [PATCH] common/idpf: fix Rx queue configuration
> 
> 
> 
> > -----Original Message-----
> > From: Xing, Beilei <beilei.xing@intel.com>
> > Sent: Thursday, February 23, 2023 11:17 AM
> > To: Wu, Jingjing <jingjing.wu@intel.com>
> > Cc: dev@dpdk.org; Xing, Beilei <beilei.xing@intel.com>;
> > stable@dpdk.org
> > Subject: [PATCH] common/idpf: fix Rx queue configuration
> >
> > From: Beilei Xing <beilei.xing@intel.com>
> >
> > IDPF PMD enables 2 buffer queues by default. According to the data
> > sheet, if there is a second buffer queue, the second buffer queue is
> > valid only if bugq2_ena is set.
> >
> > Fixes: c2494d783d31 ("net/idpf: support queue start")
> > Fixes: 8b95ced47a13 ("common/idpf: add Rx/Tx queue structs")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> Acked-by: Jingjing Wu <jingjing.wu@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

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

end of thread, other threads:[~2023-02-24  2:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23  3:16 [PATCH] common/idpf: fix Rx queue configuration beilei.xing
2023-02-23  4:23 ` Wu, Jingjing
2023-02-24  2:36   ` 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).