Correct the typo in the idpf_rx_func_type enum by renaming
IDPF_RX_SINGLQ_AVX512 to IDPF_RX_SINGLEQ_AVX512 for consistency
and improved readability.

Signed-off-by: Shaiq Wani <[email protected]>
---
 drivers/net/intel/idpf/idpf_common_device.h | 2 +-
 drivers/net/intel/idpf/idpf_common_rxtx.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/intel/idpf/idpf_common_device.h 
b/drivers/net/intel/idpf/idpf_common_device.h
index 3b95d519c6..09d59dd0c1 100644
--- a/drivers/net/intel/idpf/idpf_common_device.h
+++ b/drivers/net/intel/idpf/idpf_common_device.h
@@ -50,7 +50,7 @@ enum idpf_rx_func_type {
        IDPF_RX_SINGLEQ_SCATTERED,
        IDPF_RX_SINGLEQ_AVX2,
        IDPF_RX_AVX512,
-       IDPF_RX_SINGLQ_AVX512,
+       IDPF_RX_SINGLEQ_AVX512,
        IDPF_RX_MAX
 };
 
diff --git a/drivers/net/intel/idpf/idpf_common_rxtx.c 
b/drivers/net/intel/idpf/idpf_common_rxtx.c
index a2b8c372d6..5a1c1561e5 100644
--- a/drivers/net/intel/idpf/idpf_common_rxtx.c
+++ b/drivers/net/intel/idpf/idpf_common_rxtx.c
@@ -1663,7 +1663,7 @@ const struct ci_rx_path_info idpf_rx_path_infos[] = {
                .features = {
                        .rx_offloads = IDPF_RX_VECTOR_OFFLOADS,
                        .simd_width = RTE_VECT_SIMD_512}},
-       [IDPF_RX_SINGLQ_AVX512] = {
+       [IDPF_RX_SINGLEQ_AVX512] = {
                .pkt_burst = idpf_dp_singleq_recv_pkts_avx512,
                .info = "Single AVX512 Vector",
                .features = {
-- 
2.34.1

Reply via email to