[ovs-dev] [PATCH v8 0/3] DPDK batch packet processing

Daniele Di Proietto ddiproietto at vmware.com
Mon Jun 23 18:43:56 UTC 2014


Changes from v7:

renamed ofp to buf in dp_netdev_input()
define struct netdev_flow_key globally in lib/dpif-netdev.c

Changes from v6:

free_dpdk_buf should accept dpif_packet also if DPDK_NETDEV is not defined

Changes from v5:

Pravin's suggestions:
   reintroduced dpif_packet_delete()
   removed extra spaces
   dp_netdev_input keeps only one miniflow now
   netdev_send takes a dpif_packet now
fixed a bug when skipping packets in dpdk_do_tx_copy()

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


*** BLURB HERE ***

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            | 340 ++++++++++++++++++++++++++++++-------------
 lib/dpif.c                   |  21 ++-
 lib/netdev-bsd.c             |  69 +++++----
 lib/netdev-dpdk.c            | 179 +++++++++++++++--------
 lib/netdev-dpdk.h            |   6 +-
 lib/netdev-dummy.c           |  78 ++++++----
 lib/netdev-linux.c           |  67 ++++++---
 lib/netdev-provider.h        |  25 ++--
 lib/netdev.c                 |  19 ++-
 lib/netdev.h                 |   7 +-
 lib/odp-execute.c            | 119 ++++++++++-----
 lib/odp-execute.h            |  12 +-
 lib/ofpbuf.c                 |   4 +-
 lib/ofpbuf.h                 |   4 +-
 lib/packet-dpif.c            |  68 +++++++++
 lib/packet-dpif.h            |  51 +++++++
 ofproto/ofproto-dpif-xlate.c |  13 +-
 18 files changed, 760 insertions(+), 324 deletions(-)
 create mode 100644 lib/packet-dpif.c
 create mode 100644 lib/packet-dpif.h

-- 
2.0.0




More information about the dev mailing list