eventdev: fix build on RHEL 7
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 13 Apr 2021 22:16:12 +0000 (03:46 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 14 Apr 2021 08:02:05 +0000 (10:02 +0200)
commit206c562e4b4f03424d7c1e076a59a031ede1c6f1
tree671d37c3905de036a9bdae2fe20b16a7e739d00a
parent7498c2d74ee9d81f2e4f75dcce8390fdf9c800da
eventdev: fix build on RHEL 7

Since queue identifier is passed as signed integer, a compilation error
is generated:
rte_event_eth_rx_adapter.c:1810:57: error: signed and unsigned type
in conditional expression [-Werror=sign-compare]
Make queue identifier as unsigned when adding it to vector data.

Bugzilla ID: 672
Fixes: d7c428e557ba ("eventdev: support Rx adapter event vector")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c