[ovs-git] [openvswitch/ovs] 7dec44: netdev: Add function for getting the numa node id ...

GitHub noreply at github.com
Fri Sep 12 18:36:04 UTC 2014


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

  Changed paths:
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev-vport.c
    M lib/netdev.c
    M lib/netdev.h

  Log Message:
  -----------
  netdev: Add function for getting the numa node id of netdev.

This commit adds a new API to the 'struct netdev_class' which
allows user to query the numa node id the 'netdev' is on.

Currently, only netdev-dpdk module implements this function.

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


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

  Changed paths:
    M lib/dpif-netdev.c
    M lib/dpif-netdev.h
    M lib/netdev-bsd.c
    M lib/netdev-dpdk.c
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev.c
    M lib/netdev.h

  Log Message:
  -----------
  netdev: Add n_txq to 'struct netdev'.

This commit adds new variable n_txq to 'struct netdev' for recording
the number of tx queues.  Correspondingly, the send_*() functions are
extended to accept queue id as input argument.

All 'netdev-*' implementation will ignore the queue id since having
multiple tx queues is not supported.  Upcomping patches will start
using it and create multiple tx queues for dpdk netdev.

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/9c7e020fd60b...f00fa8cbad76


More information about the git mailing list