Re: [ovs-dev] [PATCH 1/2] datapath: add hash action

2014-04-21 Thread Andy Zhou
Thanks a lot for great reviews from Jesse and Pravin. Pushed both patches with the typos fixed. On Mon, Apr 21, 2014 at 9:13 AM, Jesse Gross wrote: > On Sun, Apr 20, 2014 at 11:05 PM, Andy Zhou wrote: >> diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h >> index 1aa9158..dd2

Re: [ovs-dev] [PATCH 1/2] datapath: add hash action

2014-04-21 Thread Jesse Gross
On Sun, Apr 20, 2014 at 11:05 PM, Andy Zhou wrote: > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h > index 1aa9158..dd2cceb 100644 > --- a/include/linux/openvswitch.h > +++ b/include/linux/openvswitch.h > @@ -312,7 +312,8 @@ enum ovs_key_attr { > OVS_KEY_ATTR_TUNNE

[ovs-dev] [PATCH 1/2] datapath: add hash action

2014-04-20 Thread Andy Zhou
Signed-off-by: Andy Zhou V4->V5: * Make sure OVS_CB(Skb)->input_port is always set. * always export recirc_id. V3->v4: * Rehash the hash with hash_basis * always accept dp_hash mask * add mask to ovs_nla_put_flow() API V2->V3: * rename dp_hash to o