Re: [dpdk-dev] [PATCH v4 10/24] net/ixgbe: enable port detach on secondary process

2018-06-26 Thread Remy Horton
On 26/06/2018 08:08, Qi Zhang wrote: [..] static int eth_ixgbevf_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, struct rte_pci_device *pci_dev) { + struct rte_eth_dev *ethdev; + + ethdev = rte_eth_dev_allocated(pci_dev->device.name); + if (!ethdev) +

[dpdk-dev] [PATCH v4 10/24] net/ixgbe: enable port detach on secondary process

2018-06-26 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/ixgbe/ixgbe_ethdev.c | 12 1 file c