Re: [dpdk-dev] [PATCH v2 3/6] ethdev: synchronize port allocation

2018-01-07 Thread Matan Azrad
v > > Subject: [dpdk-dev] [PATCH v2 3/6] ethdev: synchronize port allocation > > Ethernet port allocation was not thread safe, means 2 threads which tried to > allocate a new port at the same time might get an identical port identifier > and > caused to memory overwrite. &g

[dpdk-dev] [PATCH v2 3/6] ethdev: synchronize port allocation

2018-01-07 Thread Matan Azrad
Ethernet port allocation was not thread safe, means 2 threads which tried to allocate a new port at the same time might get an identical port identifier and caused to memory overwrite. Actually, all the port configurations were not thread safe from ethdev point of view. The port ownership mechanis