net/ice/base: add command to LLDP
[dpdk.git] / drivers / net / ice / ice_switch_filter.c
index dd3f484..20e8187 100644 (file)
@@ -1388,7 +1388,7 @@ ice_switch_check_action(const struct rte_flow_action *actions,
                }
        }
 
-       if (actions_num > 1) {
+       if (actions_num != 1) {
                rte_flow_error_set(error,
                                   EINVAL, RTE_FLOW_ERROR_TYPE_ACTION,
                                   actions,