net/bonding: fix burst hash computation
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 29 Jan 2018 14:36:03 +0000 (14:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 31 Jan 2018 19:57:29 +0000 (20:57 +0100)
commitc5224f6234312879952b0f00590851438b18eb5c
treebb9f96cfcc9045e8f394841a2bc9b8ed7c302b68
parentb853efa574b4823be7c3bfb9bffae92c93433dd3
net/bonding: fix burst hash computation

Wrong function was used for l23 and l34 hashing
slave index was incremented twice.

Fixes: 09150784a776 ("net/bonding: burst mode hash calculation")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_pmd.c