Re: [PATCH] hash: add XOR32 hash function

2023-06-20 Thread Bili Dong
For the HW I have access to, I think so. That is actually one of the major final goals of this patch, so we can model this HW in P4, including all the hash functions it supports, through the DPDK SWX pipeline. Thanks, Bili On Sat, Jun 17, 2023 at 1:59 PM Stephen Hemminger < step...@networkplumbe

Re: [PATCH] hash: add XOR32 hash function

2023-06-17 Thread Stephen Hemminger
Does it generate same hash as NIC than do it in HW? On Wed, Feb 15, 2023, 3:31 AM Bili Dong wrote: > An XOR32 hash is needed in the Software Switch (SWX) Pipeline for its > use case in P4. We implement it in this patch so it could be easily > registered in the pipeline later. > > Signed-off-by:

[PATCH] hash: add XOR32 hash function

2023-02-15 Thread Bili Dong
An XOR32 hash is needed in the Software Switch (SWX) Pipeline for its use case in P4. We implement it in this patch so it could be easily registered in the pipeline later. Signed-off-by: Bili Dong --- .mailmap | 1 + app/test/test_hash_functions.c | 33 +++-- l