ethdev: add the hash key size per device
authorHelin Zhang <helin.zhang@intel.com>
Fri, 12 Jun 2015 07:33:56 +0000 (15:33 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jul 2015 23:14:51 +0000 (01:14 +0200)
commit8208e85a2240f252965424253caeb8664c1a7bac
tree4eadbad3d569d078233ea99385ab7362e8b9bc7e
parent506f51cc0da7e057ac31e15048ba3b8015112226
ethdev: add the hash key size per device

To support querying hash key size per port, an new field of
'hash_key_size' was added in 'struct rte_eth_dev_info' for storing
hash key size in bytes.

The correct hash key size in bytes should be filled into the
'struct rte_eth_dev_info', to support querying it.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/e1000/igb_ethdev.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/ixgbe/ixgbe_ethdev.c
lib/librte_ether/rte_ethdev.h