[ovs-git] [openvswitch/ovs] 012c0a: ovs-numa: Replace name 'cpu_socket' with 'numa_nod...

GitHub noreply at github.com
Fri Sep 5 22:26:00 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 012c0a040f9aac5f3e75ca05843cf05aff8a97cf
      https://github.com/openvswitch/ovs/commit/012c0a040f9aac5f3e75ca05843cf05aff8a97cf
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M lib/ovs-numa.c
    M lib/ovs-numa.h

  Log Message:
  -----------
  ovs-numa: Replace name 'cpu_socket' with 'numa_node'.

'numa' and 'socket' are currently used interchangeably in ovs-numa.
But they are not always equivalent as some platform can have multiple
sockets on a numa node.  To avoid confusion, this commit renames all
the 'cpu_socket' to 'numa_node'.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 421aa227d0cf225b8a6dbf77c3442f57a46ef52f
      https://github.com/openvswitch/ovs/commit/421aa227d0cf225b8a6dbf77c3442f57a46ef52f
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M lib/ovs-numa.c

  Log Message:
  -----------
  ovs-numa: Relax the ovs_numa_*() input argument check.

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 <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 6b1105fb2007fb72e36ec9da92996bd3b1e18916
      https://github.com/openvswitch/ovs/commit/6b1105fb2007fb72e36ec9da92996bd3b1e18916
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M lib/ovs-numa.c
    M lib/ovs-numa.h

  Log Message:
  -----------
  ovs-numa: Add function for getting numa node id from core id.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 341857504063aaa18c7d539d5946a15ece27b893
      https://github.com/openvswitch/ovs/commit/341857504063aaa18c7d539d5946a15ece27b893
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M lib/ovs-numa.c

  Log Message:
  -----------
  ovs-numa: Add module description.

Add a short description of the module and its assumption.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/b0e1bce5d652...341857504063


More information about the git mailing list