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

GitHub noreply at github.com
Mon Jan 30 16:35:18 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 89e6f5ff97866c1d83d67c24e0d1f5fe8451827c
      https://github.com/openvswitch/ovs/commit/89e6f5ff97866c1d83d67c24e0d1f5fe8451827c
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-30 (Mon, 30 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: 6c2cb6d85dd60e9948ec7d0a914b8d178e698708
      https://github.com/openvswitch/ovs/commit/6c2cb6d85dd60e9948ec7d0a914b8d178e698708
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-30 (Mon, 30 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: d3493e37190b3f75f85fd976c623de9d1cf34cc0
      https://github.com/openvswitch/ovs/commit/d3493e37190b3f75f85fd976c623de9d1cf34cc0
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-30 (Mon, 30 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: d64e149f73806f0d4ffb66ad6d1c05bdb3df20dc
      https://github.com/openvswitch/ovs/commit/d64e149f73806f0d4ffb66ad6d1c05bdb3df20dc
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-01-30 (Mon, 30 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/10ebb01f8e91...d64e149f7380


More information about the git mailing list