summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-internal_dev.c
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2014-09-16 04:37:25 +0200
committerPravin B Shelar <pshelar@nicira.com>2014-09-16 08:28:14 +0200
commit971427f353f3c42c8dcef62e7124440df68eb809 (patch)
tree7eed9ed50fe70cfc82ce33e12a13147ad0de580c /net/openvswitch/vport-internal_dev.c
parentopenvswitch: simplify sample action implementation (diff)
downloadlinux-971427f353f3c42c8dcef62e7124440df68eb809.tar.xz
linux-971427f353f3c42c8dcef62e7124440df68eb809.zip
openvswitch: Add recirc and hash action.
Recirc action allows a packet to reenter openvswitch processing. currently openvswitch lookup flow for packet received and execute set of actions on that packet, with help of recirc action we can process/modify the packet and recirculate it back in openvswitch for another pass. OVS hash action calculates 5-tupple hash and set hash in flow-key hash. This can be used along with recirculation for distributing packets among different ports for bond devices. For example: OVS bonding can use following actions: Match on: bond flow; Action: hash, recirc(id) Match on: recirc-id == id and hash lower bits == a; Action: output port_bond_a Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/openvswitch/vport-internal_dev.c')
0 files changed, 0 insertions, 0 deletions