On Fri, 5 Jan 2024 14:58:22 +0000 Madhuker Mythri <madhuker.myt...@oracle.com> wrote:
> Hi Stephen, > > As part of hash calculation logic, the hash value is going beyond 32-bits and > thus the eBPF verifier throws error with the 32-bit hash variable. > So, I need to modify as 64-bit hash variable to resolve the BPF verifier > error. > > Here, in the code this rte_softrss_be() function is returning the hash > variable, which is a 64-bit value, so modified the return type from 32-bit to > 64-bit. Simple cast should do the necessary truncation.