[PATCH] net/idpf: correct the enum constant name typo
Bruce Richardson
bruce.richardson at intel.com
Wed Oct 8 10:28:27 CEST 2025
On Tue, Oct 07, 2025 at 09:34:36AM +0530, Shaiq Wani wrote:
> 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 <shaiq.wani at intel.com>
Fixes, even minor ones like this, should always start the patch title with
the word "fix" rather than "correct", for a number of reasons.
a) for consistency with other patches
b) to mark the patch as a bug fix for possible backporting
c) so that tooling such as check-git-log recognise it as a fix and run
additional checks for things like a "fixes" line with correct commit
reference.
Point "c" is especially relevant here. :-)
Fixes: 12b1c2901761 ("net/idpf: use common Rx path selection infrastructure")
Patch applied to next-net-intel with title rewording and fixline applied.
/Bruce
> ---
> 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
>
More information about the dev
mailing list