net/ice: add action number check for switch
authorWei Zhao <wei.zhao1@intel.com>
Fri, 3 Apr 2020 04:46:02 +0000 (12:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000 (13:57 +0200)
commit3428c6b6ec1f0882e7b167c44c1fb11d0ef1d83b
tree9c8414556681cdc2401d4b6843836a0d045b6cde
parent6bc7628c5e0b9c15dd2784bdf45546e8284d6f68
net/ice: add action number check for switch

The action number can only be one for DCF or PF
switch filter, not support multiple actions.

Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c