[ovs-dev] [netdev v3 0/4] refactor netdev code to make more sense

Ben Pfaff blp at nicira.com
Thu May 9 22:35:05 UTC 2013


This is the third posting of this series.  The second posting, on
April 1, did not attract any reviews.  Perhaps the readers of ovs-dev
thought it was an April Fools joke?

I would like to get this reviewed because it will make threading
easier.

Changes v1->v2:
  - Initial two patches dropped because they have been applied.
  - Fixed merge conflicts against current master.

Changes v2->v3:
  - Fixed merge conflicts against current master.

Ben Pfaff (4):
  netdev: Factor restoring flags into new "struct netdev_saved_flags".
  netdev: Add new "struct netdev_rx" for capturing packets from a
    netdev.
  Rename superclass members to 'up'.
  netdev: Get rid of netdev_dev.

 lib/dpif-netdev.c     |   19 +-
 lib/netdev-bsd.c      |  530 ++++++++++++----------------
 lib/netdev-dummy.c    |  271 +++++++--------
 lib/netdev-linux.c    |  940 ++++++++++++++++++++++---------------------------
 lib/netdev-provider.h |  180 ++++------
 lib/netdev-vport.c    |  145 +++-----
 lib/netdev.c          |  542 +++++++++++++---------------
 lib/netdev.h          |   49 ++-
 ofproto/ofproto.c     |    4 +-
 utilities/ovs-dpctl.c |    4 +-
 vswitchd/bridge.c     |    4 +-
 11 files changed, 1225 insertions(+), 1463 deletions(-)

-- 
1.7.2.5




More information about the dev mailing list