[dpdk-dev] [PATCH v3 1/2] librte_ether: ensure not overwrite device data in mp app

2016-09-27 Thread Yuanhan Liu
On Mon, Sep 26, 2016 at 04:53:05PM +0200, Marcin Kerlin wrote: > diff --git a/lib/librte_ether/rte_ether_version.map > b/lib/librte_ether/rte_ether_version.map > index 45ddf44..34e1109 100644 > --- a/lib/librte_ether/rte_ether_version.map > +++ b/lib/librte_ether/rte_ether_version.map > @@ -139,3

[dpdk-dev] [PATCH v3 1/2] librte_ether: ensure not overwrite device data in mp app

2016-09-27 Thread Kerlin, MarcinX
[dpdk-dev] [PATCH v3 1/2] librte_ether: ensure not overwrite > device data in mp app > > On Mon, Sep 26, 2016 at 04:53:05PM +0200, Marcin Kerlin wrote: > > diff --git a/lib/librte_ether/rte_ether_version.map > > b/lib/librte_ether/rte_ether_version.map > > index

[dpdk-dev] [PATCH v3 1/2] librte_ether: ensure not overwrite device data in mp app

2016-09-26 Thread Marcin Kerlin
Added prevention not overwrite device data in array rte_eth_dev_data[]. Secondary process appends in the first free place rather than at the beginning. This behavior prevents overwriting devices data of primary process by secondary process. Signed-off-by: Marcin Kerlin --- lib/librte_ether/rte_e