bonding: use existing enslaved device queues
authorEric Kinzie <ehkinzie@gmail.com>
Thu, 24 Mar 2016 21:59:58 +0000 (14:59 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:03:48 +0000 (19:03 +0100)
commit5b7bb2bda5519b7800f814df64d4e015282140e5
treead5a32bdfb1b5db86c110813158da5d965fc9d2a
parentae844e5e6808b5e158ee6f779059d51410dbfcc4
bonding: use existing enslaved device queues

This solves issues when an active device is added to a bond.

If a device to be enslaved already has transmit and/or receive queues
allocated, use those and then create any additional queues that are
necessary.

Fixes: 2efb58cbab6e ("bond: new link bonding library")

Signed-off-by: Eric Kinzie <ehkinzie@gmail.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
drivers/net/bonding/rte_eth_bond_pmd.c