Re: [dpdk-dev] [PATCH v10 20/20] ethdev: add control interface support

2017-07-20 Thread Ferruh Yigit
On 7/8/2017 7:28 AM, Yuanhan Liu wrote: > On Tue, Jul 04, 2017 at 05:13:37PM +0100, Ferruh Yigit wrote: >> @@ -157,8 +164,12 @@ rte_eth_dev_pci_generic_probe(struct rte_pci_device >> *pci_dev, >> >> RTE_FUNC_PTR_OR_ERR_RET(*dev_init, -EINVAL); >> ret = dev_init(eth_dev); >> -if (re

Re: [dpdk-dev] [PATCH v10 20/20] ethdev: add control interface support

2017-07-07 Thread Yuanhan Liu
On Tue, Jul 04, 2017 at 05:13:37PM +0100, Ferruh Yigit wrote: > @@ -157,8 +164,12 @@ rte_eth_dev_pci_generic_probe(struct rte_pci_device > *pci_dev, > > RTE_FUNC_PTR_OR_ERR_RET(*dev_init, -EINVAL); > ret = dev_init(eth_dev); > - if (ret) > + if (ret) { > rte_eth

[dpdk-dev] [PATCH v10 20/20] ethdev: add control interface support

2017-07-04 Thread Ferruh Yigit
To have the support corresponding kernel module (UNCI) needs to be inserted. If kernel module is not there, application will run as it is without kernel control path support. When UNCI module inserted, running application creates a virtual Linux network interface (dpdk$) per DPDK port. This inter