openvswitch: Move mega-flow list out of rehashing struct.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 4 Oct 2013 07:14:23 +0000 (00:14 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 4 Oct 2013 07:18:26 +0000 (00:18 -0700)
commitb637e4988c2d689bb43f943a5af0e684a4981159
tree36fbf2ee83323b2441861de650c6dabe6d5cc663
parente64457191a259537bbbfaebeba9a8043786af96f
openvswitch: Move mega-flow list out of rehashing struct.

ovs-flow rehash does not touch mega flow list. Following patch
moves it dp struct datapath.  Avoid one extra indirection for
accessing mega-flow list head on every packet receive.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/flow_table.c
net/openvswitch/flow_table.h