[ovs-git] Open vSwitch: netdev-dpdk: Remove alloc from packet recv. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Apr 2 21:34:09 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  b3cd9f9d6a35c0e9044a9ebbd4435dc5426da099 (commit)
       via  1005dd9a166d697961e7ae79ef51beba4233fce2 (commit)
       via  d8a59e895d7ffaf8fa83093e9ceb30bd3d3085ad (commit)
       via  1f317cb5c2aa446c4b0252634a4a70dcc3682f93 (commit)
       via  6e2f6e708fb9bdb5443f8854016ea4f6fa73b355 (commit)
      from  6740b72141c6e76c6793c4429f1fdeecd4f41ec3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b3cd9f9d6a35c0e9044a9ebbd4435dc5426da099
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b3cd9f9d6a35c0e9044a9ebbd4435dc5426da099
Author: Pravin Shelar <pshelar at nicira.com>
		
netdev-dpdk: Remove alloc from packet recv.
		
On DPDK packet recv, ovs is given pointer to mbuf which has
information about a packet, for example pointer to data and size.
By moving mbuf to ofpbuf we can let dpdk allocate ofpbuf and
pass that to ovs for processing the packet.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


commit 1005dd9a166d697961e7ae79ef51beba4233fce2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1005dd9a166d697961e7ae79ef51beba4233fce2
Author: Pravin Shelar <pshelar at nicira.com>
		
ofpbuf: Add DPDK mbuf to ofpbuf.
		
Define data, base and size access APIs for DPDK.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


commit d8a59e895d7ffaf8fa83093e9ceb30bd3d3085ad
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d8a59e895d7ffaf8fa83093e9ceb30bd3d3085ad
Author: Pravin Shelar <pshelar at nicira.com>
		
ofpbuf: Add ofpbuf_init_dpdk()
		
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


commit 1f317cb5c2aa446c4b0252634a4a70dcc3682f93
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1f317cb5c2aa446c4b0252634a4a70dcc3682f93
Author: Pravin Shelar <pshelar at nicira.com>
		
ofpbuf: Introduce access api for base, data and size.
		
These functions will be used by later patches.  Following patch
does not change functionality.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>


commit 6e2f6e708fb9bdb5443f8854016ea4f6fa73b355
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6e2f6e708fb9bdb5443f8854016ea4f6fa73b355
Author: Pravin Shelar <pshelar at nicira.com>
		
ofpbuf: Add private pointer for dpdk
		
netdev-dpdk uses this pointer to store dpdk mbuf. This patch fixes
compilation error in dpdk.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/bfd.c                     |    2 +-
 lib/cfm.c                     |    2 +-
 lib/dpif-linux.c              |   28 ++---
 lib/dpif-netdev.c             |   27 ++---
 lib/dpif-netdev.h             |    4 +-
 lib/dpif.c                    |   14 +--
 lib/flow.c                    |   54 ++++-----
 lib/jsonrpc.c                 |    6 +-
 lib/lacp.c                    |    2 +-
 lib/learn.c                   |   12 +-
 lib/learning-switch.c         |   20 ++--
 lib/netdev-dpdk.c             |  107 ++++++++---------
 lib/netdev-dummy.c            |   26 ++---
 lib/netdev-linux.c            |   12 +-
 lib/netlink-socket.c          |   44 +++----
 lib/netlink.c                 |   26 ++---
 lib/nx-match.c                |   29 ++---
 lib/odp-util.c                |   14 +--
 lib/ofp-actions.c             |   44 +++----
 lib/ofp-errors.c              |    2 +-
 lib/ofp-msgs.c                |   42 +++----
 lib/ofp-parse.c               |   40 +++----
 lib/ofp-print.c               |   12 +-
 lib/ofp-util.c                |  252 ++++++++++++++++++++---------------------
 lib/ofpbuf.c                  |  108 +++++++++++-------
 lib/ofpbuf.h                  |  120 +++++++++++++++++---
 lib/packets.c                 |    8 +-
 lib/pcap-file.c               |    8 +-
 lib/rconn.c                   |   12 +-
 lib/route-table.c             |    2 +-
 lib/rtnetlink-link.c          |    2 +-
 lib/stp.c                     |    2 +-
 lib/stream-ssl.c              |    5 +-
 lib/vconn-stream.c            |   22 ++--
 lib/vconn.c                   |   28 ++---
 ofproto/connmgr.c             |    3 +-
 ofproto/fail-open.c           |    8 +-
 ofproto/in-band.c             |    2 +-
 ofproto/netflow.c             |   12 +-
 ofproto/ofproto-dpif-ipfix.c  |   28 ++---
 ofproto/ofproto-dpif-sflow.c  |    6 +-
 ofproto/ofproto-dpif-upcall.c |   30 ++---
 ofproto/ofproto-dpif-xlate.c  |   43 +++----
 ofproto/ofproto-dpif.c        |   43 +++----
 ofproto/ofproto.c             |    4 +-
 tests/test-bundle.c           |    2 +-
 tests/test-flows.c            |    4 +-
 tests/test-netflow.c          |    6 +-
 tests/test-odp.c              |   22 ++--
 tests/test-sflow.c            |    6 +-
 tests/test-vconn.c            |   10 +-
 utilities/ovs-dpctl.c         |   23 ++--
 utilities/ovs-ofctl.c         |  173 ++++++++++++++--------------
 vswitchd/bridge.c             |    4 +-
 54 files changed, 844 insertions(+), 723 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list