When calculate queue index for queue action in
switch filter, vsi base queue should be included.
Fixes:
57c4f2693588 ("net/ice: enable switch filter")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
uint16_t valid_qgrop_number[MAX_QGRP_NUM_TYPE] = {
2, 4, 8, 16, 32, 64, 128};
- base_queue = pf->base_queue;
+ base_queue = pf->base_queue + vsi->base_queue;
for (action = actions; action->type !=
RTE_FLOW_ACTION_TYPE_END; action++) {
action_type = action->type;