Changes from v4:

rebased
simplified error handling in netdev_linux_send()
moved dpif_packet functions into a separate .c file
cosmetic changes

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              |   2 +
 lib/dpif-netdev.c            | 358 ++++++++++++++++++++++++++++++++-----------
 lib/dpif.c                   |  21 ++-
 lib/netdev-bsd.c             |  66 ++++----
 lib/netdev-dpdk.c            | 172 +++++++++++++--------
 lib/netdev-dummy.c           |  77 ++++++----
 lib/netdev-linux.c           |  65 +++++---
 lib/netdev-provider.h        |  20 ++-
 lib/netdev.c                 |  19 ++-
 lib/netdev.h                 |   7 +-
 lib/odp-execute.c            | 119 +++++++++-----
 lib/odp-execute.h            |  12 +-
 lib/packet-dpif.c            |  68 ++++++++
 lib/packet-dpif.h            |  42 +++++
 ofproto/ofproto-dpif-xlate.c |  13 +-
 15 files changed, 759 insertions(+), 302 deletions(-)
 create mode 100644 lib/packet-dpif.c
 create mode 100644 lib/packet-dpif.h

-- 
2.0.0

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to