From: kumaraparameshwaran rathinavel <kumaraparamesh92@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: hujiayu.hu@foxmail.com, dev@dpdk.org
Subject: Re: [PATCH] lib/gro: use hash function for flow lookup
Date: Mon, 10 Nov 2025 21:59:25 +0530 [thread overview]
Message-ID: <CANxNyavFd1qZijK7CQd-Nq5OSEw1YmH0OEztor+K1wpfLx7FeA@mail.gmail.com> (raw)
In-Reply-To: <20250101092138.4fb5fdee@fedora>
[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]
On Wed, Jan 1, 2025 at 10:51 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:
> On Wed, 1 Jan 2025 15:07:35 +0530
> Kumara Parameshwaran <kumaraparamesh92@gmail.com> wrote:
>
> > From: Kumara Parameshwaran <kumaraparamesh92@gmail.com>
> > To: hujiayu.hu@foxmail.com
> > Cc: dev@dpdk.org, Kumara Parameshwaran <kumaraparamesh92@gmail.com>
> > Subject: [PATCH] lib/gro: use hash function for flow lookup
> > Date: Wed, 1 Jan 2025 15:07:35 +0530
> > X-Mailer: git-send-email 2.47.1
> >
> > optimize the GRO lookup using hash based
> > implementation
> >
> > Signed-off-by: Kumara Parameshwaran <kumaraparamesh92@gmail.com>
>
> Rather than open coding a hash table with collision chains, please use the
> existing DPDK cuckoo hash which is faster and you can also prevent hash
> DoS chain attacks.
>
>> http://dpdk.org/patch/158636 @Stephen Hemminger
>> <stephen@networkplumber.org> - Please find the link to the patch. This
>> is sample implementation with test. Please let me know if it looks fine,
>> would add more test cases.
>
>
> Alternatively, use a better hash function such as siphash which is
> resistent
> to DoS attacks.
>
[-- Attachment #2: Type: text/html, Size: 2214 bytes --]
prev parent reply other threads:[~2025-11-10 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-01 9:37 Kumara Parameshwaran
2025-01-01 17:21 ` Stephen Hemminger
2025-01-02 3:53 ` kumaraparameshwaran rathinavel
2025-11-10 16:29 ` kumaraparameshwaran rathinavel [this message]
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=CANxNyavFd1qZijK7CQd-Nq5OSEw1YmH0OEztor+K1wpfLx7FeA@mail.gmail.com \
--to=kumaraparamesh92@gmail.com \
--cc=dev@dpdk.org \
--cc=hujiayu.hu@foxmail.com \
--cc=stephen@networkplumber.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).