On Mon, Sep 15, 2014 at 2:03 PM, Alex Wang al...@nicira.com 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
+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 = (bin j) 0x1;
This
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