[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-27 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, March 26, 2015 5:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ethdev: fix crash with multiprocess Acked-by: John McNamara

[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-27 Thread Thomas Monjalon
2015-03-26 17:36, De Lara Guarch, Pablo: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > > The data structure for the rx and tx callbacks is local to each process > > since it contains function pointers and cannot be shared between > > different unique binaries. However

[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, March 26, 2015 5:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ethdev: fix crash with multiprocess > > The data structure for the rx and tx

[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-26 Thread Bruce Richardson
The data structure for the rx and tx callbacks is local to each process since it contains function pointers and cannot be shared between different unique binaries. However, because it is not in rte_eth_dev_data structure, the array is not getting initialized for secondary processes - neither is it