net/ice: fix priority of DCF switch rule
authorWenjun Wu <wenjun1.wu@intel.com>
Mon, 2 Aug 2021 07:25:17 +0000 (15:25 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 10 Aug 2021 03:06:19 +0000 (05:06 +0200)
commit72908beba944b57e3e1cbe0edf7728a192230d2b
tree2fc7bf93010aa728f31882187aa324262de8e794
parent319df9f9bf1ad4a854e1e8b9fe087580909b8263
net/ice: fix priority of DCF switch rule

This patch fixes the reversed priority of DCF switch rule. Priority 0
and 1 are supported, and priority 0 should be the highest priority.

Fixes: 2321e34c23b3 ("net/ice: support flow priority for DCF switch filter")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c