app/testpmd: support more types for flow RSS
Some user and tester require flow RSS to support more types, so add "all" and "none" to make configuration more easy for users. Tested-by: Yuan Peng <yuan.peng@intel.com> Signed-off-by: Wei Zhao <wei.zhao1@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
This commit is contained in:
parent
01e5b16c57
commit
3c90743dd3
@ -75,6 +75,10 @@ static const struct {
|
||||
};
|
||||
|
||||
const struct rss_type_info rss_type_table[] = {
|
||||
{ "all", ETH_RSS_IP | ETH_RSS_TCP |
|
||||
ETH_RSS_UDP | ETH_RSS_SCTP |
|
||||
ETH_RSS_L2_PAYLOAD },
|
||||
{ "none", 0 },
|
||||
{ "ipv4", ETH_RSS_IPV4 },
|
||||
{ "ipv4-frag", ETH_RSS_FRAG_IPV4 },
|
||||
{ "ipv4-tcp", ETH_RSS_NONFRAG_IPV4_TCP },
|
||||
|
Loading…
Reference in New Issue
Block a user