net/bonding: use ethdev API to get socket
authorJan Blunck <jblunck@infradead.org>
Fri, 30 Jun 2017 14:34:49 +0000 (15:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:57 +0000 (15:00 +0200)
commitdce8a093de6b70219287be3e4ed59628d19770fe
tree7e34feb7d163d0556a193058825ebbaf43cc8407
parentc15c5897340dc30ea11447043b54716f9ddd6428
net/bonding: use ethdev API to get socket

The bonded device does not have to be a PCI device. Use the rte_ethdev
functions instead.

Signed-off-by: Wen Chiu <wchiu@brocade.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Jan Blunck <jblunck@infradead.org>
Signed-off-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_8023ad.c