net/tap: report on supported RSS hash functions
authorOphir Munk <ophirmu@mellanox.com>
Tue, 8 May 2018 17:07:35 +0000 (17:07 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:51 +0000 (22:31 +0100)
commit8d54ede738691c656914228030ed463acb39b63e
treee3b93244e81fb5115cf2faefe1b3ee44ece62e50
parent7ee230e884ddf1958c386e27424dfce0c400536b
net/tap: report on supported RSS hash functions

Report on TAP supported RSS functions as part of dev_infos_get
callback: ETH_RSS_IP, ETH_RSS_UDP and ETH_RSS_TCP.
Known limitation: TAP supports all of the above hash functions together
and not in partial combinations.
Previous to this commit RSS support was reported as none. Since the
introduction of [1] it is required that all RSS configurations will be
verified.

[1] commit 8863a1fbfc66 ("ethdev: add supported hash function check")

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/tap.rst
drivers/net/tap/rte_eth_tap.c
drivers/net/tap/tap_bpf_program.c
drivers/net/tap/tap_rss.h