[ovs-git] Open vSwitch: lib/ofpbuf: Remove 'l7' pointer. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Mar 25 22:22:33 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  5a51b2cd3483c6c1719e5ef7091f558d49431351 (commit)
       via  d8b352b3e111615b0c1961704138748c6a71c204 (commit)
       via  ba3f2aedba884a7d1ce74da5e0fe1691ff0c2539 (commit)
      from  f21fa45f30856d07b712661566ae8d1bcb62a31a (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 5a51b2cd3483c6c1719e5ef7091f558d49431351
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5a51b2cd3483c6c1719e5ef7091f558d49431351
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/ofpbuf: Remove 'l7' pointer.
		
Now that we don't need to parse TCP flags from the packet after
extraction, we usually do not need the 'l7' pointer any more.  When
needed, ofpbuf_get_tcp|udp|sctp|icmp_payload() or ofpbuf_get_l4_size()
can be used instead.

Removal of 'l7' was requested by Pravin for the DPDK datapath work, as
it simplifies packet parsing a bit.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit d8b352b3e111615b0c1961704138748c6a71c204
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d8b352b3e111615b0c1961704138748c6a71c204
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/ofpbuf: Inline the trivial ofpbuf functions.
		
Inline the most trivial ofpbuf functions to allow for better optimization.
Also inline the most often used ofpbuf_pull() and ofpbuf_try_pull(), which
should help streamline packet parsing.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit ba3f2aedba884a7d1ce74da5e0fe1691ff0c2539
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ba3f2aedba884a7d1ce74da5e0fe1691ff0c2539
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/pcap: Use ofpbuf_tail() instead of ofpbuf_end().
		
Using ofpbuf_end() to compute payload length would fail if the ofpbuf
had any tailroom.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/bfd.c       |    9 +++-
 lib/flow.c      |  100 ++++++++++++----------------------
 lib/ofp-print.c |   26 +++++----
 lib/ofpbuf.c    |  106 +-----------------------------------
 lib/ofpbuf.h    |  162 +++++++++++++++++++++++++++++++++++++++++++++++++------
 lib/packets.c   |   11 ++--
 lib/pcap-file.c |    7 +--
 7 files changed, 212 insertions(+), 209 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list