ethdev: extend RSS offload types
authorSimei Su <simei.su@intel.com>
Tue, 15 Oct 2019 15:09:48 +0000 (23:09 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commitd3ae8c44b8107bc66fdb37e26108bf2bd302cd86
treec6e9ebb73d9c1f135dbc05796856a7767b12ae69
parentfce6b66893d5f962f12c565ec6735ac8328f06ab
ethdev: extend RSS offload types

This patch reserves several bits as input set selection from the
high end of the 64 bits. It is combined with exisiting ETH_RSS_*
to represent RSS types. This patch also checks the simultaneous
use of SRC_ONLY and DST_ONLY of the same level.

Signed-off-by: Simei Su <simei.su@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Ori Kam <orika@mellanox.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h