Re: Question about naive XOR hash in DPDK

2022-11-11 Thread Bili Dong
Hi Mattias, Maybe an example helps explain this. Here is an example where the CRC hash function is registered in the DPDK pipeline: http://git.dpdk.org/dpdk/tree/lib/pipeline/rte_swx_pipeline.c?id=203dcc9cfe4151518bb5a5c59ee22a754e649e35#n10115. We need something similar to this for the XOR hash.

Re: Question about naive XOR hash in DPDK

2022-11-09 Thread Mattias Rönnblom
On 2022-11-07 19:57, Bili Dong wrote: Dear DPDK devs, We are using DPDK as the backend target of a P4 pipeline (https://github.com/p4lang/p4-dpdk-target ). A recent issue we are trying to solve is to support a naive XOR hash (something like this

Question about naive XOR hash in DPDK

2022-11-07 Thread Bili Dong
Dear DPDK devs, We are using DPDK as the backend target of a P4 pipeline ( https://github.com/p4lang/p4-dpdk-target). A recent issue we are trying to solve is to support a naive XOR hash (something like this