Function simple_xor for AVF RSS is not required currently, thus we
just return rte_flow error when the command line has item simple_xor.
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
RTE_ETH_HASH_FUNCTION_SIMPLE_XOR){
rss_meta->rss_algorithm =
VIRTCHNL_RSS_ALG_XOR_ASYMMETRIC;
+ return rte_flow_error_set(error, ENOTSUP,
+ RTE_FLOW_ERROR_TYPE_ACTION, action,
+ "function simple_xor is not supported");
} else if (rss->func ==
RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) {
rss_meta->rss_algorithm =