As different hardware has different hash key sizes, querying it (in byte) per port was asked by users. Otherwise there is no convenient way to know the size of hash key which should be prepared.
v2 changes: * Disabled the code changes by default, to avoid breaking ABI compatibility. v3 changes: * Moved the newly added element right after 'uint16_t reta_size', where it was a padding. So it will not break any ABI compatibility, and no need to disable the code changes by default. Helin Zhang (6): ethdev: add an field for querying hash key size e1000: fill the hash key size fm10k: fill the hash key size i40e: fill the hash key size ixgbe: fill the hash key size app/testpmd: show the hash key size app/test-pmd/config.c | 2 ++ drivers/net/e1000/igb_ethdev.c | 3 +++ drivers/net/fm10k/fm10k_ethdev.c | 1 + drivers/net/i40e/i40e_ethdev.c | 2 ++ drivers/net/i40e/i40e_ethdev_vf.c | 2 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ lib/librte_ether/rte_ethdev.h | 1 + 7 files changed, 14 insertions(+) -- 1.9.3