Skip to contentSkip to conversation

net/idpf: fix typo in CQ scan threshold macro name

PATCH Applied Shaiq Wani 2 participants 3 messages Feb 25 Network drivers

lore
Share & tools
lore

Shaiq Wani

author
#0 lore raw

PATCH 1/1 net/idpf: fix typo in CQ scan threshold macro name

Fix the misspelled macro IDPD_TXQ_SCAN_CQ_THRESH to IDPF_TXQ_SCAN_CQ_THRESH in the header and its usage in the AVX512 split queue Tx path.

Fixes e528d7c74819 ("common/idpf: add AVX512 data path for split queue model")
---
 drivers/net/intel/idpf/idpf_common_rxtx.h        | 2 +-
 drivers/net/intel/idpf/idpf_common_rxtx_avx512.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/idpf/idpf_common_rxtx.h +1 -1
index 914cab0f25..5e9e9c1d6d 100644
@@ -52,7 +52,7 @@
 #define IDPF_VPMD_TX_MAX_BURST		32
 #define IDPF_VPMD_DESCS_PER_LOOP	4
 #define IDPF_RXQ_REARM_THRESH		64
-#define IDPD_TXQ_SCAN_CQ_THRESH	64
+#define IDPF_TXQ_SCAN_CQ_THRESH	64
 
 /* MTS */
 #define GLTSYN_CMD_SYNC_0_0	(PF_TIMESYNC_BASE + 0x0)
drivers/net/intel/idpf/idpf_common_rxtx_avx512.c +1 -1
index fe870617bc..54efe66401 100644
@@ -1166,7 +1166,7 @@ idpf_splitq_scan_cq_ring(struct ci_tx_queue *cq)
 
 	cq_qid = cq->tx_tail;
 
-	for (i = 0; i < IDPD_TXQ_SCAN_CQ_THRESH; i++) {
+	for (i = 0; i < IDPF_TXQ_SCAN_CQ_THRESH; i++) {
 		if (cq_qid == cq->nb_tx_desc) {
 			cq_qid = 0;
 			cq->expected_gen_id ^= 1;
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Shaiq Wani

Fix the misspelled macro IDPD_TXQ_SCAN_CQ_THRESH to IDPF_TXQ_SCAN_CQ_THRESH in the header and its usage in the AVX512 split queue Tx path.

Fixes e528d7c74819 ("common/idpf: add AVX512 data path for split queue model")
Quoted 6 lines
---
 drivers/net/intel/idpf/idpf_common_rxtx.h        | 2 +-
 drivers/net/intel/idpf/idpf_common_rxtx_avx512.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
#2 lore raw
Quoted 8 lines · Bruce Richardson
Quoted 5 lines · Shaiq Wani

Fix the misspelled macro IDPD_TXQ_SCAN_CQ_THRESH to IDPF_TXQ_SCAN_CQ_THRESH in the header and its usage in the AVX512 split queue Tx path.

Fixes e528d7c74819 ("common/idpf: add AVX512 data path for split queue model")
Quoted 8 lines
Quoted 6 lines
---
 drivers/net/intel/idpf/idpf_common_rxtx.h        | 2 +-
 drivers/net/intel/idpf/idpf_common_rxtx_avx512.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to dpdk-next-net-intel.

Thanks,
/Bruce