common/idpf: fix Rx queue configuration
PATCH 1/1 common/idpf: fix Rx queue configuration
From: Beilei Xing <[email protected]>
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.
--- drivers/common/idpf/idpf_common_virtchnl.c | 1 + 1 file changed, 1 insertion(+)
drivers/common/idpf/idpf_common_virtchnl.c +1 -0
@@ -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 ;
Signature · 1 line
2.26.2
Quoted 15 lines
-----Original Message-----
From: Xing, Beilei <[email protected]>
Sent: Thursday, February 23, 2023 11:17 AM
To: Wu, Jingjing <[email protected]>
Cc: [email protected]; Xing, Beilei <[email protected]>; [email protected]
Subject: [PATCH] common/idpf: fix Rx queue configurationFrom: Beilei Xing <[email protected]>
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_enais set.
Quoted 5 lines
Fixes c2494d783d31 ("net/idpf: support queue start")Fixes 8b95ced47a13 ("common/idpf: add Rx/Tx queue structs")Signed-off-by Beilei Xing <[email protected]>
Zhang, Qi Z
AppliedQuoted 25 lines
-----Original Message-----
From: Wu, Jingjing <[email protected]>
Sent: Thursday, February 23, 2023 12:24 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: [PATCH] common/idpf: fix Rx queue configurationQuoted 14 lines
-----Original Message-----
From: Xing, Beilei <[email protected]>
Sent: Thursday, February 23, 2023 11:17 AM
To: Wu, Jingjing <[email protected]>
Cc: [email protected]; Xing, Beilei <[email protected]>; [email protected]
Subject: [PATCH] common/idpf: fix Rx queue configurationFrom: Beilei Xing <[email protected]>
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_enais set.
Quoted 6 lines
Quoted 5 lines
Fixes c2494d783d31 ("net/idpf: support queue start")Fixes 8b95ced47a13 ("common/idpf: add Rx/Tx queue structs")Signed-off-by Beilei Xing <[email protected]>Acked-by Jingjing Wu <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi