Parameter action_flag is not used correctly in i40e_flow_parse_rss_action.
Also change it from point type to value type since it is not an output
parameter.
Fixes:
ecad87d22383 ("net/i40e: move RSS to flow API")
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Zhiyong Yang <zhiyong.yang@intel.com>
i40e_flow_parse_rss_action(struct rte_eth_dev *dev,
const struct rte_flow_action *actions,
struct rte_flow_error *error,
i40e_flow_parse_rss_action(struct rte_eth_dev *dev,
const struct rte_flow_action *actions,
struct rte_flow_error *error,
struct i40e_queue_regions *conf_info,
union i40e_filter_t *filter)
{
struct i40e_queue_regions *conf_info,
union i40e_filter_t *filter)
{
return ret;
ret = i40e_flow_parse_rss_action(dev, actions, error,
return ret;
ret = i40e_flow_parse_rss_action(dev, actions, error,
- &action_flag, &info, filter);
+ action_flag, &info, filter);