On Wed, Jan 1, 2025 at 10:51 PM Stephen Hemminger < [email protected]> wrote:
> On Wed, 1 Jan 2025 15:07:35 +0530 > Kumara Parameshwaran <[email protected]> wrote: > > > From: Kumara Parameshwaran <[email protected]> > > To: [email protected] > > Cc: [email protected], Kumara Parameshwaran <[email protected]> > > 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 <[email protected]> > > 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 >> <[email protected]> - 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. >

