net/idpf: fix typo in CQ scan threshold macro name
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")
Signed-off-by Shaiq Wani <[email protected]>
--- 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
@@ -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
@@ -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
Quoted 5 lines · Shaiq Wani
Fix the misspelled macro
IDPD_TXQ_SCAN_CQ_THRESHtoIDPF_TXQ_SCAN_CQ_THRESHin 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
Signed-off-by Shaiq Wani <[email protected]>--- 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(-)
Acked-by Bruce Richardson <[email protected]>
Bruce Richardson
AppliedQuoted 8 lines · Bruce Richardson
Quoted 5 lines · Shaiq Wani
Fix the misspelled macro
IDPD_TXQ_SCAN_CQ_THRESHtoIDPF_TXQ_SCAN_CQ_THRESHin 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
Signed-off-by Shaiq Wani <[email protected]>--- 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(-)Acked-by Bruce Richardson <[email protected]>
Applied to dpdk-next-net-intel.
Thanks,
/Bruce