[ovs-git] Open vSwitch: netdev-dpdk: add dpdk rings to netdev-dpdk (master)
dev at openvswitch.org
dev at openvswitch.org
Wed Jul 16 17:04:36 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 95fb793ae73de7b0760320c39c1be56b3ab4cc3d (commit)
via 93295354dfd0c1eb890b9f5be4246625b652bfe2 (commit)
via 513a3f64b63856b93032e2147bf3cbb074c5da94 (commit)
via 71000af63ee4476f7bf8d96271a2953ac9b3e1f1 (commit)
from 58df55ce45ca98f8ddfb8f079254cd0caa5284c0 (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 95fb793ae73de7b0760320c39c1be56b3ab4cc3d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=95fb793ae73de7b0760320c39c1be56b3ab4cc3d
Author: maryam.tahhan <maryam.tahhan at intel.com>
netdev-dpdk: add dpdk rings to netdev-dpdk
Shared memory ring patch
This patch enables the client dpdk rings within the netdev-dpdk. It adds
a new dpdk device called dpdkr (other naming suggestions?). This allows
for the use of shared memory to communicate with other dpdk applications,
on the host or within a virtual machine. Instructions for use are in
INSTALL.DPDK.
This has been tested on Intel multi-core platforms and with the client
application within the host.
Signed-off-by: Gerald Rogers <gerald.rogers at intel.com>
Signed-off-by: Maryam Tahhan <maryam.tahhan at intel.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
commit 93295354dfd0c1eb890b9f5be4246625b652bfe2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=93295354dfd0c1eb890b9f5be4246625b652bfe2
Author: Ben Pfaff <blp at nicira.com>
netlink-socket: Simplify multithreaded dumping to match Linux reality.
Commit 0791315e4d (netlink-socket: Work around kernel Netlink dump thread
races.) introduced a simple workaround for Linux kernel races in Netlink
dumps. However, the code remained more complicated than needed. This
commit simplifies it.
The main reason for complication in the code was 'status_seq' in nl_dump.
This member was there to allow a thread to wait for some other thread to
refill the socket buffer with another dump message (although we did not
understand the reason at the time it was introduced). Now that we know
that Netlink dumps properly need to be serialized to work in existing
Linux kernels, there's no additional value in having 'status_seq',
because serialized recvmsg() calls always refill the socket buffer
properly.
This commit updates nl_msg_next() to clear its buffer argument on error.
This is a more convenient interface for the new version of the Netlink
dump code. nl_msg_next() doesn't have any other callers.
Signed-off-by: Ben Pfaff <blp at nicira.com>
commit 513a3f64b63856b93032e2147bf3cbb074c5da94
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=513a3f64b63856b93032e2147bf3cbb074c5da94
Author: Eric Sesterhenn <eric.sesterhenn at lsexperts.de>
Factor the ovsdb-server main loop into a new function
This refactors the ovsdb-server main loop into a new function, which allows
to call it from multiple places.
Signed-off-by: Eric Sesterhenn <eric.sesterhenn at lsexperts.de>
Signed-off-by: Ben Pfaff <blp at nicira.com>
commit 71000af63ee4476f7bf8d96271a2953ac9b3e1f1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=71000af63ee4476f7bf8d96271a2953ac9b3e1f1
Author: Ben Pfaff <blp at nicira.com>
CodingStyle: Add suggested GNU indent options.
Suggested-by: Gerald Rogers <gerald.rogers at intel.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
AUTHORS | 3 +
CodingStyle | 7 +
INSTALL.DPDK | 44 +++++
lib/netdev-dpdk.c | 362 ++++++++++++++++++++++++++++++-----------
lib/netdev-dpdk.h | 1 +
lib/netdev.c | 3 +-
lib/netlink-socket.c | 177 +++++++++++---------
lib/netlink-socket.h | 11 +-
lib/netlink.c | 3 +-
ovsdb/ovsdb-server.c | 144 ++++++++--------
tests/automake.mk | 7 +
tests/ovs_client/ovs_client.c | 226 +++++++++++++++++++++++++
12 files changed, 739 insertions(+), 249 deletions(-)
create mode 100644 tests/ovs_client/ovs_client.c
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list