]> git.proxmox.com Git - mirror_ovs.git/commit
datapath: openvswitch: Refactor recirc key allocation.
authorAndy Zhou <azhou@ovn.org>
Thu, 6 Apr 2017 19:51:43 +0000 (12:51 -0700)
committerAndy Zhou <azhou@ovn.org>
Wed, 19 Apr 2017 19:59:38 +0000 (12:59 -0700)
commit58afdef14e3e966cd82c0b1fe3ff7666f1923847
treef99934d03967f0d5712a98119e3e367b6d678569
parent615fa7ba65102e78cbe7082be6ac67c306e31860
datapath: openvswitch: Refactor recirc key allocation.

Upstream commit:
    openvswitch: Refactor recirc key allocation.

    The logic of allocating and copy key for each 'exec_actions_level'
    was specific to execute_recirc(). However, future patches will reuse
    as well.  Refactor the logic into its own function clone_key().

Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: 4572ef52a00b ("openvswitch: Refactor recirc key allocation.")
Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
datapath/actions.c