Re: [ovs-dev] [PATCH 2/4] ovs-numa: Relax the ovs_numa_*() input argument check.

2014-09-05 Thread Alex Wang
Thx for pointing it out, I'll make a note in the comment. On Fri, Sep 5, 2014 at 2:19 PM, Pravin Shelar wrote: > On Thu, Sep 4, 2014 at 3:17 PM, Alex Wang wrote: > > Many of the ovs_numa_*() functions abort the program when the > > input cpu socket or core id is invalid. This commit relaxes >

Re: [ovs-dev] [PATCH 2/4] ovs-numa: Relax the ovs_numa_*() input argument check.

2014-09-05 Thread Pravin Shelar
On Thu, Sep 4, 2014 at 3:17 PM, Alex Wang wrote: > Many of the ovs_numa_*() functions abort the program when the > input cpu socket or core id is invalid. This commit relaxes > the input check and makes these functions return OVS_*_UNSPEC > when the check fails. > > Signed-off-by: Alex Wang Due

[ovs-dev] [PATCH 2/4] ovs-numa: Relax the ovs_numa_*() input argument check.

2014-09-04 Thread Alex Wang
Many of the ovs_numa_*() functions abort the program when the input cpu socket or core id is invalid. This commit relaxes the input check and makes these functions return OVS_*_UNSPEC when the check fails. Signed-off-by: Alex Wang --- lib/ovs-numa.c | 77 --