Skip to content

ovs: introduce arch-specific fast hashing improvements

Francesco Fusco lkml netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 9 repliesIn review
  2. v2 posting 1/20 of 2 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Make hash generic and place it under lib

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: introduce arch optimized hash libraryarch/x86/include/asm/hash.h arch/x86/lib/Makefile arch/x86/lib/hash.c +4 more+180 -22 replies
2/2net: ovs: use CRC32 accelerated flow hash if availablenet/openvswitch/flow_table.c+2 -25 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJesse Gross
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements

From: Daniel Borkmann <[email protected]>

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
Signature · 1 line
1.8.3.1