-
- Downloads
openvswitch: Per cpu flow stats.
With mega flow implementation ovs flow can be shared between multiple CPUs which makes stats updates highly contended operation. This patch uses per-CPU stats in cases where a flow is likely to be shared (if there is a wildcard in the 5-tuple and therefore likely to be spread by RSS). In other situations, it uses the current strategy, saving memory and allocation time. Signed-off-by:Pravin B Shelar <pshelar@nicira.com> Signed-off-by:
Jesse Gross <jesse@nicira.com>
Showing
- net/openvswitch/datapath.c 16 additions, 34 deletionsnet/openvswitch/datapath.c
- net/openvswitch/flow.c 89 additions, 7 deletionsnet/openvswitch/flow.c
- net/openvswitch/flow.h 22 additions, 7 deletionsnet/openvswitch/flow.h
- net/openvswitch/flow_netlink.c 52 additions, 4 deletionsnet/openvswitch/flow_netlink.c
- net/openvswitch/flow_netlink.h 1 addition, 0 deletionsnet/openvswitch/flow_netlink.h
- net/openvswitch/flow_table.c 29 additions, 2 deletionsnet/openvswitch/flow_table.c
- net/openvswitch/flow_table.h 1 addition, 1 deletionnet/openvswitch/flow_table.h
Loading
Please register or sign in to comment