[ovs-git] [openvswitch/ovs] e5c6c7: datapath-windows: OvsUpdateIPv4Header remove unnec...

GitHub noreply at github.com
Fri Jan 27 21:53:44 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e5c6c7f5082dfe6a55e04da85afd206b545d41f5
      https://github.com/openvswitch/ovs/commit/e5c6c7f5082dfe6a55e04da85afd206b545d41f5
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-27 (Fri, 27 Jan 2017)

  Changed paths:
    M datapath-windows/ovsext/Actions.c

  Log Message:
  -----------
  datapath-windows: OvsUpdateIPv4Header remove unnecessary addition

bufferStart can be used directly to access the data of the net buffer.
Add the MDL offset to save unnecessary additions.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>


  Commit: 1a2bea5d586e281ab8b821b9ed711afec80dc3bc
      https://github.com/openvswitch/ovs/commit/1a2bea5d586e281ab8b821b9ed711afec80dc3bc
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-27 (Fri, 27 Jan 2017)

  Changed paths:
    M datapath-windows/ovsext/Actions.c

  Log Message:
  -----------
  datapath-windows: Add function to get continuous buffer from context

This patch extracts the code that tries to get a continuous IPv4 header
buffer from the function 'OvsUpdateIPv4Header' and moves it to a new
function 'OvsGetHeaderBySize'.

The new function can be used later when trying to change the UDP/TCP/MPLS
etc., headers.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>


  Commit: dd71a1dd979fd68ea53adfd92f367d88894c6311
      https://github.com/openvswitch/ovs/commit/dd71a1dd979fd68ea53adfd92f367d88894c6311
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-27 (Fri, 27 Jan 2017)

  Changed paths:
    M datapath-windows/ovsext/Actions.c

  Log Message:
  -----------
  datapath-windows: Add support for OVS_KEY_ATTR_UDP set action

This patch adds support for set action with OVS_KEY_ATTR_UDP attribute
(change UDP source or destination port).

If the source or destination UDP port was changed, update the UDP checksum.

A sample flow can look like the following:
set(udp(src=67,dst=68))

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>


  Commit: a9fee2f826b79507b60a9cf2c8eced6095a22e58
      https://github.com/openvswitch/ovs/commit/a9fee2f826b79507b60a9cf2c8eced6095a22e58
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-27 (Fri, 27 Jan 2017)

  Changed paths:
    M datapath-windows/ovsext/Actions.c

  Log Message:
  -----------
  datapath-windows: Add support for OVS_KEY_ATTR_TCP set action

This patch adds support for set action with OVS_KEY_ATTR_TCP attribute
(change TCP source or destination port).

If the source or destination TCP port was changed, update the TCP checksum.

A sample flow can look like the following:
set(tcp(src=80,dst=443))

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/c412927026f2...a9fee2f826b7


More information about the git mailing list