Re: [dpdk-dev] [PATCH v4 3/7] ethdev: add port ownership

2018-01-21 Thread Ferruh Yigit
On 1/20/2018 9:24 PM, Matan Azrad wrote: > The ownership of a port is implicit in DPDK. > Making it explicit is better from the next reasons: > 1. It will define well who is in charge of the port usage synchronization. > 2. A library could work on top of a port. > 3. A port can work on top of anoth

Re: [dpdk-dev] [PATCH v4 3/7] ethdev: add port ownership

2018-01-21 Thread Ferruh Yigit
On 1/20/2018 9:24 PM, Matan Azrad wrote: > The ownership of a port is implicit in DPDK. > Making it explicit is better from the next reasons: > 1. It will define well who is in charge of the port usage synchronization. > 2. A library could work on top of a port. > 3. A port can work on top of anoth

[dpdk-dev] [PATCH v4 3/7] ethdev: add port ownership

2018-01-20 Thread Matan Azrad
The ownership of a port is implicit in DPDK. Making it explicit is better from the next reasons: 1. It will define well who is in charge of the port usage synchronization. 2. A library could work on top of a port. 3. A port can work on top of another port. Also in the fail-safe case, an issue has