net/bonding: fix slave id types
authorDavid Marchand <david.marchand@redhat.com>
Wed, 20 Mar 2019 11:47:20 +0000 (12:47 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Mar 2019 20:09:16 +0000 (21:09 +0100)
commit1d6cab8a91ba461b6a223f98a527d81182c9a6d2
tree12c4c3f764ddd50d965904ba949c61dfc0af3796
parentc4fa09ba8ed585ce68af01d69f1614a1425e86a5
net/bonding: fix slave id types

Caught by code review, with port id conversion to 16bits, the slave id
have been extended to 16bits as well (both slave index and count).

Fixes: f8244c6399d9 ("ethdev: increase port id range")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bonding/rte_eth_bond_8023ad.c
drivers/net/bonding/rte_eth_bond_alb.c
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/bonding/rte_eth_bond_private.h