net/bonding: fix setting VLAN ID on slave ports
authorChas Williams <chas3@att.com>
Tue, 3 Apr 2018 16:01:22 +0000 (12:01 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:40:21 +0000 (00:40 +0200)
commit3639903f488976e61752103bed546d5b87147ad0
tree6fb527e315555fe8a16908918dbc6639dbb47251
parent3a4b87c897d6e746ce53bcbe70a35e44654c7434
net/bonding: fix setting VLAN ID on slave ports

The pos returned is just the offset of the slab.  You need to use this
to offset the bits in the slab.

Fixes: c771e4ef38 ("net/bonding: enable slave VLAN filter")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/net/bonding/rte_eth_bond_api.c