net/ice: fix flow director flag
authorBeilei Xing <beilei.xing@intel.com>
Tue, 21 Jan 2020 11:42:11 +0000 (19:42 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:19 +0000 (09:51 +0100)
commit1f0bc0592ae59d5d809ade9044d886c7c6f6186d
tree19cf82a5c06b8bb96bf6dce28d198a7cc3c61653
parent93eb13bcb6baf5146798c23ef071ab2ae2489a4f
net/ice: fix flow director flag

If there's no mark action when creating a FDIR rule,
there shouldn't be FDIR flags in mbuf.

Fixes: f5cafa961fae ("net/ice: add flow director create and destroy")
Fixes: bd984f155f49 ("net/ice/base: support FDIR")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_fdir.c
drivers/net/ice/base/ice_fdir.h
drivers/net/ice/ice_fdir_filter.c