From: Francesco Fusco <ffusco@redhat.com>
To: jesse@nicira.com
Cc: netdev@vger.kernel.org, dev@openvswitch.org,
Daniel Borkmann <dborkman@redhat.com>
Subject: [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements
Date: Thu, 12 Dec 2013 16:00:19 +0100 [thread overview]
Message-ID: <1386860421-1317-1-git-send-email-ffusco@redhat.com> (raw)
From: Daniel Borkmann <dborkman@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
next reply other threads:[~2013-12-12 15:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-12 15:00 Francesco Fusco [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-12 15:09 [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements Francesco Fusco
2013-12-12 21:12 ` David Miller
[not found] ` <1386860946-1621-1-git-send-email-ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-17 19:28 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386860421-1317-1-git-send-email-ffusco@redhat.com \
--to=ffusco@redhat.com \
--cc=dborkman@redhat.com \
--cc=dev@openvswitch.org \
--cc=jesse@nicira.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).