[dpdk-dev] [PATCH 1/2] lib/librte_ether: export secondary attach function

2017-03-02 Thread Ami Sabo
Today eth_dev_attach_secondary is defined as static and can only be called by pci drivers. However, the functionality is also required for non-pci drivers - so the patch export the function. Signed-off-by: Ami Sabo --- v2: Fix coding style issues (Yuanhan Liu) --- lib/librte_ether/rte_ethdev.c

Re: [dpdk-dev] [PATCH 1/2] lib/librte_ether: export secondary attach function

2017-02-27 Thread Yuanhan Liu
Cc Thomas, the librte_ether maintainer. On Sun, Feb 26, 2017 at 11:55:25AM +0200, Ami Sabo wrote: > /** > * @internal > + * Attach to the ethdev already initialized by the primary > + * process. > + * > + * @param nameEthernet device's name. > + @return mailformed comment: missing *

[dpdk-dev] [PATCH 1/2] lib/librte_ether: export secondary attach function

2017-02-26 Thread Ami Sabo
Today eth_dev_attach_secondary is defined as static and can only be called by pci drivers. However, the functionality is also required for non-pci drivers - so the patch export the function. Signed-off-by: Ami Sabo --- lib/librte_ether/rte_ethdev.c | 6 +++--- lib/librte_ether/rte_ethd