PcapPlusPlus: app says RSS hash function not supported even though getrsshashfunction method gives that it is present
Hey, So I was working with PcapPlusPlys v21.05
And whats happening is, i got an error that rss hash function 0x41 was not supported, I then read about the documentation on the classes and all of PCPP and then basically edited the dpdkl2fwd sample application to also print out the getrsshashfunction method which would give me the rss hash function supported by my NIC, which is intel XL710
Now as you can see it says 0x41 is not supported and the supported are 0x1fbd, so i referred to the documentation and it seems that function 0x40, which is for RSS IPv6 is not supported, so now what I did was I changes the dpdkDevices.h in the PcPP/headers and then in line 280 i replaced uint64_t rssHashFunction = RSS_IPV4 | RSS_IPV6 with uint64_t rssHashFunction = RSS_IPV4 and recompiled PcPP.
According to me what this should do is, it should invoke the hashfunction 0x1 instead of 0x41, and now since our NIC supports 0x1fbd so it the function 0x1 also comes under 0x1fbd, but apparently even then we are getting this error

If anyone could help with it, it would be great
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (17 by maintainers)
Yes, sure, thanks for the help, we have resolved any doubts for pcapplusplus