net/ixgbe: remove redundant MAC flag check
authorHaiyue Wang <haiyue.wang@intel.com>
Thu, 12 Nov 2020 02:00:06 +0000 (10:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commit5db5d3b72e7cd5c6c986ef72924eb9069c842063
treeaf9432954fbaf6b2d3ceb3541150486eca0023b4
parentfcf681890a31a7396df2b85b2888074c5b939535
net/ixgbe: remove redundant MAC flag check

The flag of RTE_ETHTYPE_FLAGS_MAC has been checked twice, so remove the
first error message "Not supported by ethertype filter" which is not so
specific, and keep the error message "mac compare is unsupported" which
aligns to the definition of RTE_ETHTYPE_FLAGS_MAC.

Fixes: eb3539fc8550 ("net/ixgbe: parse ethertype filter")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_flow.c