net/ice: fix error log in generic flow
authorShougang Wang <shougangx.wang@intel.com>
Mon, 6 Jul 2020 09:37:05 +0000 (09:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:27 +0000 (23:38 +0200)
commitc04e7f5a7080e2fa91aa2cf9a01a40760edecbe7
treea57ff104b508b1daa1ad4f88f860870841116205
parent54851ff3375c288c1b7aa470f80f1c46749cf095
net/ice: fix error log in generic flow

When create a RSS rule with void action, the error log is "Invalid
input set". This patch fix the issue by adding check for the type of
first actions item.

Fixes: 7615a6895009 ("net/ice: rework for generic flow enabling")
Cc: stable@dpdk.org
Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_generic_flow.c