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

Daniele Di Proietto ddiproietto at vmware.com
Fri Jun 20 23:37:05 UTC 2014


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


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            | 327 ++++++++++++++++++++++++++++++-------------
 lib/dpif.c                   |  21 ++-
 lib/netdev-bsd.c             |  69 +++++----
 lib/netdev-dpdk.c            | 179 ++++++++++++++---------
 lib/netdev-dpdk.h            |   4 +-
 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, 749 insertions(+), 320 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