Caught by code review, rxq and txq indexes are on 16bits.
Fixes:
d1d1e664c6c4 ("bonding: free queue memory when closing")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
static void
bond_ethdev_free_queues(struct rte_eth_dev *dev)
{
static void
bond_ethdev_free_queues(struct rte_eth_dev *dev)
{
if (dev->data->rx_queues != NULL) {
for (i = 0; i < dev->data->nb_rx_queues; i++) {
if (dev->data->rx_queues != NULL) {
for (i = 0; i < dev->data->nb_rx_queues; i++) {