net/ice: fix build on RHEL 7
authorTing Xu <ting.xu@intel.com>
Wed, 7 Jul 2021 09:51:10 +0000 (17:51 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 7 Jul 2021 11:28:06 +0000 (13:28 +0200)
commit83fa214051d6652a05098bb7ba4d695bf4ecd5dd
treeaa25bdf6247e00653bb8bbfd306c735b261c177f
parente52d36cf8f16f496fc21baba75057fa7fbcd2447
net/ice: fix build on RHEL 7

This patch fixed the unmatched integer type issue in the comparison,
which causing compilation failure on RHEL.

drivers/net/ice/ice_dcf_sched.c:353:15: error:
comparison between signed and unsigned integer expressions
   if (node_id > tc_nb * hw->num_vfs) {
               ^

CI reported the failure:
http://mails.dpdk.org/archives/test-report/2021-July/201905.html

Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")

Signed-off-by: Ting Xu <ting.xu@intel.com>
Tested-by: Ali Alnubani <alialnu@nvidia.com>
drivers/net/ice/ice_dcf_sched.c