[ovs-git] Open vSwitch: netdev-dpdk: Refactor dpdk_class_init() (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 17 19:05:23 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  033e9df25fd3828959e332caf086706e91111a55 (commit)
      from  a413195ecede139380166065bf42699b3c002acd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 033e9df25fd3828959e332caf086706e91111a55
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=033e9df25fd3828959e332caf086706e91111a55
Author: Daniele Di Proietto <ddiproietto at vmware.com>
		
netdev-dpdk: Refactor dpdk_class_init()
		
The following changes were made:

- Since we have two dpdk classes, we should split the initial operations needed
  by both classes from the initialization needed by each class.
- The dpdk_ring class does not need an initialization function: it has been
  removed. This also prevents many testcase from failing, because
  dpdk_ring_class_init() was printing an unexpected log message
  (OVS_VSWITCHD_START at tests/ofproto-macros.at:54 check for a specific set of
  startup log messages)
- If the user doesn't pass the --dpdk option we do not register the dpdk*
  classes
- Do not call VLOG_ERR if there are 0 dpdk ethernet device. OVS can now be used
  with dpdk_ring devices.

Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/netdev-dpdk.c |   40 ++++++++++++++++------------------------
 1 file changed, 16 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list