netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Derek Ditch <derek.ditch@gmail.com>
Cc: netdev@vger.kernel.org, tom@herbertland.com, jiri@resnulli.us,
	willemb@google.com, eric@regit.org
Subject: Re: [Bug 120441] af_packet no longer uses symmetric hashing
Date: Thu, 16 Jun 2016 16:37:52 +0200	[thread overview]
Message-ID: <5762B9C0.9010902@iogearbox.net> (raw)
In-Reply-To: <511F6A17-BD35-4846-A717-1463B74D7F2A@gmail.com>

On 06/16/2016 03:57 PM, Derek Ditch wrote:
[...]
>> Begin forwarded message:
>>
>> From: bugzilla-daemon@bugzilla.kernel.org
>> Subject: [Bug 120441] af_packet no longer uses symmetric hashing
>> Date: June 16, 2016 at 07:35:54 -0500
>> To: derek.ditch@gmail.com
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=120441

Just thinking out loud, perhaps one way would be to implement your own fanout
hashing via eBPF demuxer, f.e. in case CPU selection etc wouldn't work. Another
option could be to have a (2nd) customizable hash demux that would enforce to
always go through the flow-dissector and where you would have a socket option
to control keys for it, but I presume that seems rather less desirable.

>> --- Comment #2 from Eric Leblond <eric@regit.org> ---
>> This patch has been introduced in 4.2.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>> Begin forwarded message:
>>
>> From: bugzilla-daemon@bugzilla.kernel.org
>> Subject: [Bug 120441] af_packet no longer uses symmetric hashing
>> Date: June 16, 2016 at 06:59:58 -0500
>> To: derek.ditch@gmail.com
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=120441
>>
>> Eric Leblond <eric@regit.org> changed:
>>
>>            What    |Removed                     |Added
>> ----------------------------------------------------------------------------
>>                  CC|                            |eric@regit.org
>>
>> --- Comment #1 from Eric Leblond <eric@regit.org> ---
>> It seems the problem has been introduced by
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=42aecaa9bb2bd57eb8d61b4565cee5d3640863fb
>> where the symetrical jhash_3words function has been replaced by jhash2.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>
>

       reply	other threads:[~2016-06-16 14:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <511F6A17-BD35-4846-A717-1463B74D7F2A@gmail.com>
2016-06-16 14:37 ` Daniel Borkmann [this message]
2016-06-16 14:40   ` [Bug 120441] af_packet no longer uses symmetric hashing Derek Ditch
2016-06-16 14:50   ` Hannes Frederic Sowa
2016-06-16 15:18     ` Daniel Borkmann
2016-06-16 15:32       ` Willem de Bruijn

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=5762B9C0.9010902@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=derek.ditch@gmail.com \
    --cc=eric@regit.org \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.com \
    --cc=willemb@google.com \
    /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).