[PATCH v3 1/2] ethdev: remove unnecessary type conversion
Stephen Hemminger
stephen at networkplumber.org
Mon Aug 4 17:41:48 CEST 2025
On Mon, 4 Aug 2025 13:16:23 +0530
<skori at marvell.com> wrote:
> From: Sunil Kumar Kori <skori at marvell.com>
>
> As rte_eth_rx_queue_count() returns signed value to represent
> the error cases but internally invoked callback is returning
> unsigned value. Hence unnecessary type conversion is done.
>
> To avoid this typecasting from signed to unsigned, fixed
> return type of callback functions.
>
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> Reviewed-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> ---
Queued to next-net for 25.11
More information about the dev
mailing list