[04/11] net/sfc: fix driver logtype token
Checks
Commit Message
The net/sfc driver logtype was registered under pmd.net.sfc."driver".
Fixes: 0f39f32482a1 ("net/sfc: remove use of EAL logtype")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/net/sfc/sfc_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 9/7/24 17:54, David Marchand wrote:
> The net/sfc driver logtype was registered under pmd.net.sfc."driver".
>
> Fixes: 0f39f32482a1 ("net/sfc: remove use of EAL logtype")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> drivers/net/sfc/sfc_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
> index 24686a1eaf..3480a51642 100644
> --- a/drivers/net/sfc/sfc_ethdev.c
> +++ b/drivers/net/sfc/sfc_ethdev.c
> @@ -3616,4 +3616,4 @@ RTE_PMD_REGISTER_PARAM_STRING(net_sfc_efx,
> SFC_KVARG_FW_VARIANT "=" SFC_KVARG_VALUES_FW_VARIANT " "
> SFC_KVARG_RXD_WAIT_TIMEOUT_NS "=<long> "
> SFC_KVARG_STATS_UPDATE_PERIOD_MS "=<long>");
> -RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, "driver", NOTICE);
> +RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, driver, NOTICE);
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
@@ -3616,4 +3616,4 @@ RTE_PMD_REGISTER_PARAM_STRING(net_sfc_efx,
SFC_KVARG_FW_VARIANT "=" SFC_KVARG_VALUES_FW_VARIANT " "
SFC_KVARG_RXD_WAIT_TIMEOUT_NS "=<long> "
SFC_KVARG_STATS_UPDATE_PERIOD_MS "=<long>");
-RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, "driver", NOTICE);
+RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, driver, NOTICE);