Acked-by: Vladimir Medvedkin <[email protected]>

On 2/17/2026 12:13 PM, Anatoly Burakov wrote:
Currently, when we compare queue numbers against maximum traffic class
value of 64, we do not use unsigned values, which results in compiler
warning when attempting to compare `I40E_MAX_Q_PER_TC` to an unsigned
value. Make it unsigned 16-bit, and adjust callers to use correct types.
As a consequence, `i40e_align_floor` now returns unsigned value as well -
this is correct, because nothing about that function implies signed usage
being a valid use case.

Signed-off-by: Anatoly Burakov <[email protected]>
---
  drivers/net/intel/i40e/i40e_ethdev.c | 11 ++++++-----
  drivers/net/intel/i40e/i40e_ethdev.h |  8 ++++----
  drivers/net/intel/i40e/i40e_hash.c   |  4 ++--
  3 files changed, 12 insertions(+), 11 deletions(-)

<snip>

--
Regards,
Vladimir

Reply via email to