Re: [ovs-dev] [dpdk patch 1/2] ovs-numa: Add support for cpu-mask configuration.

2014-09-19 Thread Alex Wang
> > > +for (j = 0; j < 4; j++) { > > +struct cpu_core *core; > > + > > +core = CONTAINER_OF(hmap_first_with_hash(&all_cpu_cores, > > + > hash_int(core_id++, 0)), > > +struct cpu_core, hmap_node); > > +core->available = (bi

Re: [ovs-dev] [dpdk patch 1/2] ovs-numa: Add support for cpu-mask configuration.

2014-09-19 Thread Pravin Shelar
On Mon, Sep 15, 2014 at 2:03 PM, Alex Wang wrote: > This commit adds support in ovs-numa module for reading a user > specified cpu mask, which configures the availability of the cores. > > The cpu mask has the format of a hex string similar to the EAL '-c > COREMASK' option input or the 'taskset'

[ovs-dev] [dpdk patch 1/2] ovs-numa: Add support for cpu-mask configuration.

2014-09-15 Thread Alex Wang
This commit adds support in ovs-numa module for reading a user specified cpu mask, which configures the availability of the cores. The cpu mask has the format of a hex string similar to the EAL '-c COREMASK' option input or the 'taskset' mask input. The lowest order bit corresponds to the first C