common/sfc_efx/base: do not validate MAE action COUNT order
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 29 Jul 2021 09:32:59 +0000 (12:32 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 30 Jul 2021 11:14:50 +0000 (13:14 +0200)
commit08b3a170cb9c84bde34dddee47fb60144370c87a
tree54c5e0efd8c73731df137a152f4722e888367896
parent3e7008459df969611fb7aa3b885a949515ac0b49
common/sfc_efx/base: do not validate MAE action COUNT order

In DPDK + Open vSwitch use case, action COUNT is always the
first one to be added. In particular, it goes before action
DECAP in that use case. The current code enforces the right
order (DECAP goes before COUNT), and this provokes failures.
As an exception, do not validate the order for action COUNT.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/base/efx.h
drivers/common/sfc_efx/base/efx_mae.c