Changes from v3:

struct dpif_packet has its own header
removed many dpif_packet functions (using ofpbuf directly instead)
avoided copying in dpif_execute()

Changes from v2:

introduce struct dpif_packet for storing non-shared packet metadata

Daniele Di Proietto (3):
  dpif-netdev: use dpif_packet structure for packets
  netdev: netdev_send accepts multiple packets
  dpif-netdev: batch packet processing

 lib/automake.mk              |   1 +
 lib/dpif-netdev.c            | 356 ++++++++++++++++++++++++++++++++-----------
 lib/dpif.c                   |  21 ++-
 lib/netdev-bsd.c             |  66 ++++----
 lib/netdev-dpdk.c            | 172 +++++++++++++--------
 lib/netdev-dummy.c           |  77 ++++++----
 lib/netdev-linux.c           |  63 +++++---
 lib/netdev-provider.h        |  20 ++-
 lib/netdev.c                 |  19 ++-
 lib/netdev.h                 |   7 +-
 lib/odp-execute.c            | 115 ++++++++++----
 lib/odp-execute.h            |  12 +-
 lib/packet-dpif.h            | 109 +++++++++++++
 ofproto/ofproto-dpif-xlate.c |  13 +-
 14 files changed, 754 insertions(+), 297 deletions(-)
 create mode 100644 lib/packet-dpif.h

-- 
2.0.0

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

Reply via email to