This series contains some small cleanups and refactors for netdev-dpdk.

The first two commits add missing copyright to a couple of files.
Then, the series contains some cleanups for netdev-dpdk.
Later commits move a lot of code to a new dpdk module.

Since posting only cleanups is boring :-), the last commit is an RFC to
ease initializing DPDK in Open vSwitch a little.

Daniele Di Proietto (13):
  netdev-dpdk.h: Add missing copyright.
  netdev-nodpdk.c: Add missing copyright.
  netdev-dpdk: Refactor dpdk_mp_get().
  netdev-dpdk: Use RCU for egress QoS.
  netdev-dpdk: Acquire dev->stats_lock only once.
  netdev-dpdk: Do not abort if out of hugepage memory.
  netdev-dpdk: Use xasprintf() when possible.
  netdev-dpdk: Remove useless nonpmd_mempool_mutex.
  netdev-dpdk: Remove useless 'rte_eal_init_ret'.
  netdev-dpdk: Use init() function to initialize classes.
  netdev-dpdk: Change vlog module name to 'netdev_dpdk'.
  dpdk: New module with some code from netdev-dpdk.
  dpdk: Late initialization.

 lib/automake.mk         |   9 +-
 lib/dp-packet.c         |   5 +-
 lib/dp-packet.h         |   8 +-
 lib/dpdk-stub.c         |  51 +++
 lib/dpdk.c              | 442 +++++++++++++++++++++++
 lib/dpdk.h              |  39 ++
 lib/dpif-netdev.c       |   5 +-
 lib/dpif.h              |   2 +
 lib/netdev-dpdk.c       | 920 +++++++++++++-----------------------------------
 lib/netdev-dpdk.h       |  52 ++-
 lib/netdev-nodpdk.c     |  20 --
 tests/ofproto-macros.at |   2 +-
 vswitchd/bridge.c       |   2 +-
 13 files changed, 810 insertions(+), 747 deletions(-)
 create mode 100644 lib/dpdk-stub.c
 create mode 100644 lib/dpdk.c
 create mode 100644 lib/dpdk.h
 delete mode 100644 lib/netdev-nodpdk.c

-- 
2.9.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to