* [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements
@ 2013-12-12 15:00 Francesco Fusco
0 siblings, 0 replies; 4+ messages in thread
From: Francesco Fusco @ 2013-12-12 15:00 UTC (permalink / raw)
To: jesse; +Cc: netdev, dev, Daniel Borkmann
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements
@ 2013-12-12 15:09 Francesco Fusco
2013-12-12 21:12 ` David Miller
[not found] ` <1386860946-1621-1-git-send-email-ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 2 replies; 4+ messages in thread
From: Francesco Fusco @ 2013-12-12 15:09 UTC (permalink / raw)
To: jesse; +Cc: netdev, dev, Daniel Borkmann
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements
2013-12-12 15:09 Francesco Fusco
@ 2013-12-12 21:12 ` David Miller
[not found] ` <1386860946-1621-1-git-send-email-ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-12-12 21:12 UTC (permalink / raw)
To: ffusco; +Cc: jesse, netdev, dev, dborkman
From: Francesco Fusco <ffusco@redhat.com>
Date: Thu, 12 Dec 2013 16:09:04 +0100
> 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!
No objections from my side, I'll let the x86 folks get a chance to
review this. I can add this optimization on sparc64 chips that have
the crc instructions too.
I think we'll need to add implementations hash_3words, hash_2words,
and hash_1word when we try to take advantage of this in the networking
more generally.
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1386860946-1621-1-git-send-email-ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements
[not found] ` <1386860946-1621-1-git-send-email-ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2013-12-17 19:28 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-12-17 19:28 UTC (permalink / raw)
To: ffusco-H+wXaHxf7aLQT0dZR+AlfA
Cc: dev-yBygre7rU0TnMu66kgdUjQ, netdev-u79uwXL29TY76Z2rM5mHXA
From: Francesco Fusco <ffusco-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Thu, 12 Dec 2013 16:09:04 +0100
> From: Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>
> 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
Series applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-17 19:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-12 15:00 [PATCH net-next v2 0/2] ovs: introduce arch-specific fast hashing improvements Francesco Fusco
2013-12-12 15:09 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
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.