From: Stephen Hemminger Date: Fri, 8 May 2015 02:41:12 +0000 (-0700) Subject: bonding: initialize backpointer from pci device to driver X-Git-Tag: spdx-start~8931 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3379b158b2a1ad4b40325630d49144f240711dea;p=dpdk.git bonding: initialize backpointer from pci device to driver Add missing initialization of to pci_dev driver The link from pci_dev back to the ethernet driver was not being set. Signed-off-by: Stephen Hemminger --- diff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/net/bonding/rte_eth_bond_api.c index d4caa83717..d810ec46fc 100644 --- a/drivers/net/bonding/rte_eth_bond_api.c +++ b/drivers/net/bonding/rte_eth_bond_api.c @@ -260,6 +260,7 @@ rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id) pci_dev->numa_node = socket_id; pci_drv->name = driver_name; + pci_dev->driver = pci_drv; eth_dev->driver = eth_drv; eth_dev->data->dev_private = internals;