net/ice: fix queue index for switch filter
authorWei Zhao <wei.zhao1@intel.com>
Tue, 22 Oct 2019 06:39:26 +0000 (14:39 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
commit368f9f2f777627f367bcdc91c6541a89f006afe1
tree7f555a17e8d2384a151e5c6ee4b9d8f4e7f8ad1f
parentd8a210774e1d4c295fd93b983538da0d15312edd
net/ice: fix queue index for switch filter

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>
drivers/net/ice/ice_switch_filter.c