Re: [ovs-dev] [PATCH 03/13] netdev-dpdk: Refactor dpdk_mp_get().

2016-10-12 Thread Daniele Di Proietto
On 12/10/2016 12:45, "Ben Pfaff" wrote: >On Tue, Oct 04, 2016 at 06:22:14PM -0700, Daniele Di Proietto wrote: >> The error handling path in dpdk_mp_get() is getting complicated, it >> even requires a boolean variable. >> >> Simplify it by extracting the function dpdk_mp_create(). >> >> CC:

Re: [ovs-dev] [PATCH 03/13] netdev-dpdk: Refactor dpdk_mp_get().

2016-10-12 Thread Ben Pfaff
On Tue, Oct 04, 2016 at 06:22:14PM -0700, Daniele Di Proietto wrote: > The error handling path in dpdk_mp_get() is getting complicated, it > even requires a boolean variable. > > Simplify it by extracting the function dpdk_mp_create(). > > CC: Ilya Maximets > Signed-off-by: Daniele Di Proietto

[ovs-dev] [PATCH 03/13] netdev-dpdk: Refactor dpdk_mp_get().

2016-10-04 Thread Daniele Di Proietto
The error handling path in dpdk_mp_get() is getting complicated, it even requires a boolean variable. Simplify it by extracting the function dpdk_mp_create(). CC: Ilya Maximets Signed-off-by: Daniele Di Proietto --- lib/netdev-dpdk.c | 46 ++ 1 file