Re: [dpdk-dev] [PATCH v2] drivers/net: fix segfault in secondary process

2018-07-20 Thread Ferruh Yigit
On 7/20/2018 1:23 PM, Thomas Monjalon wrote: > 20/07/2018 14:44, Ferruh Yigit: >> --- a/drivers/net/tap/rte_eth_tap.c >> +++ b/drivers/net/tap/rte_eth_tap.c >> if (rte_eal_process_type() == RTE_PROC_SECONDARY && >> strlen(params) == 0) { >> -eth_dev = rte_eth_dev_attach_se

Re: [dpdk-dev] [PATCH v2] drivers/net: fix segfault in secondary process

2018-07-20 Thread Thomas Monjalon
20/07/2018 14:44, Ferruh Yigit: > --- a/drivers/net/tap/rte_eth_tap.c > +++ b/drivers/net/tap/rte_eth_tap.c > if (rte_eal_process_type() == RTE_PROC_SECONDARY && > strlen(params) == 0) { > - eth_dev = rte_eth_dev_attach_secondary(name); > + eth_dev = rte_eth_