[ovs-git] [openvswitch/ovs] bf4bbd: tunnel: Add support to configure ptk_mark

GitHub noreply at github.com
Sun Jan 29 05:49:21 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: bf4bbd0d1235b1e47ae69883dac0086bdbe7bc2e
      https://github.com/openvswitch/ovs/commit/bf4bbd0d1235b1e47ae69883dac0086bdbe7bc2e
  Author: Pravin B Shelar <pshelar at ovn.org>
  Date:   2017-01-28 (Sat, 28 Jan 2017)

  Changed paths:
    M NEWS
    M lib/netdev-vport.c
    M lib/netdev.h
    M ofproto/tunnel.c
    M tests/tunnel-push-pop.at
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  tunnel: Add support to configure ptk_mark

Today packet mark action is broken for Tunnel ports with
tunnel monitoring. User can write a flow to set pkt-mark for
any tunnel traffic, but there is no way to set the packet
mark for corresponding BFD traffic.

Following patch introduces new option in OVSDB tunnel
configuration so that user can set skb-mark for given
tunnel endpoint. OVS would set the mark according to the
skb-mark option for all tunnel traffic including packets
generated by vSwitchd like tunnel monitoring BFD packet.

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>


  Commit: f36786ce0db4d04273b0c340b63c4e0a8dab2e30
      https://github.com/openvswitch/ovs/commit/f36786ce0db4d04273b0c340b63c4e0a8dab2e30
  Author: Pravin B Shelar <pshelar at ovn.org>
  Date:   2017-01-28 (Sat, 28 Jan 2017)

  Changed paths:
    M lib/route-table.c

  Log Message:
  -----------
  routing-table: parse skb-mark from RTNETLINK msg

Keep track of skb-mark of given RTNL routing notification.
This will be used by next commit.

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>


  Commit: ed52ca575fcc90e322671750a91ae7d4b5827061
      https://github.com/openvswitch/ovs/commit/ed52ca575fcc90e322671750a91ae7d4b5827061
  Author: Pravin B Shelar <pshelar at ovn.org>
  Date:   2017-01-28 (Sat, 28 Jan 2017)

  Changed paths:
    M lib/netdev-vport.c
    M lib/ovs-router.c
    M lib/ovs-router.h
    M lib/route-table.c
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-xlate.c
    M tests/ovs-router.at
    M tests/tunnel-push-pop.at

  Log Message:
  -----------
  ovs-router: introduce pkt-mark.

OVS router is basically partial copy of linux kernel FIB.
kernel routing table uses skb-mark along with usual routing
parameters. Following patch brings in support for skb-mark
to ovs-router so that we can lookup route for given skb-mark.

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/be549a9d9636...ed52ca575fcc


More information about the git mailing list