esnet / dpdk-plugin

Other
23 stars 13 forks source link

Get RSS key_len dynamically #3

Open tbarbette opened 2 years ago

tbarbette commented 2 years ago

Only some Intel devices support a key size of 52, the key len should be taken with some rte_get*_info in:

https://github.com/esnet/dpdk-plugin/blob/0e0a2d2a569cd95e80551fd9956cddbeb3aafecd/src/DPDK.cc#L126

For instance Mellanox ones support only 40bytes.