linux/net/openvswitch
Andy Zhou 5828cd9a68 openvswitch: optimize flow compare and mask functions
Make sure the sw_flow_key structure and valid mask boundaries are always
machine word aligned. Optimize the flow compare and mask operations
using machine word size operations. This patch improves throughput on
average by 15% when CPU is the bottleneck of forwarding packets.

This patch is inspired by ideas and code from a patch submitted by Peter
Klausler titled "replace memcmp() with specialized comparator".
However, The original patch only optimizes for architectures
support unaligned machine word access. This patch optimizes for all
architectures.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
2013-08-27 13:13:09 -07:00
..
actions.c openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
datapath.c openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
datapath.h openvswitch: Mega flow implementation 2013-08-23 16:43:07 -07:00
dp_notify.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
flow.c openvswitch: optimize flow compare and mask functions 2013-08-27 13:13:09 -07:00
flow.h openvswitch: optimize flow compare and mask functions 2013-08-27 13:13:09 -07:00
Kconfig openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
Makefile openvswitch: check CONFIG_OPENVSWITCH_GRE in makefile 2013-08-23 16:43:07 -07:00
vport-gre.c openvswitch: check CONFIG_OPENVSWITCH_GRE in makefile 2013-08-23 16:43:07 -07:00
vport-internal_dev.c openvswitch: Add tunneling interface. 2013-06-19 18:07:41 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c openvswitch:: link upper device for port devices 2013-08-23 16:38:00 -07:00
vport-netdev.h openvswitch: Remove unused get_config vport op. 2013-06-14 15:09:09 -07:00
vport-vxlan.c openvswitch: Add vxlan tunneling support. 2013-08-20 00:15:44 -07:00
vport.c openvswitch: Fix argument descriptions in vport.c. 2013-08-23 16:38:00 -07:00
vport.h openvswitch: Add vxlan tunneling support. 2013-08-20 00:15:44 -07:00