From: Daniel Borkmann <dbork...@redhat.com> We are introducing a fast hash function (see patch1) that can be used in the context of OpenVSwitch to reduce the hashing footprint (patch2). For details, please see individual patches!
Thanks ! v1->v2: - Make hash generic and place it under lib Francesco Fusco (2): lib: introduce arch optimized hash library net: ovs: use CRC32 accelerated flow hash if available arch/x86/include/asm/hash.h | 7 ++++ arch/x86/lib/Makefile | 2 +- arch/x86/lib/hash.c | 88 ++++++++++++++++++++++++++++++++++++++++++++ include/asm-generic/hash.h | 9 +++++ include/linux/hash.h | 36 ++++++++++++++++++ lib/Makefile | 2 +- lib/hash.c | 38 +++++++++++++++++++ net/openvswitch/flow_table.c | 4 +- 8 files changed, 182 insertions(+), 4 deletions(-) create mode 100644 arch/x86/include/asm/hash.h create mode 100644 arch/x86/lib/hash.c create mode 100644 include/asm-generic/hash.h create mode 100644 lib/hash.c -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev