On 10/27/2020 9:13 AM, Ali Alnubani wrote:
Hi,
Sent my report to v1 the first time by mistake.
-----Original Message-----
From: dev <[email protected]> On Behalf Of Andrew Rybchenko
Sent: Tuesday, October 20, 2020 12:13 PM
To: [email protected]
Cc: Ivan Malov <[email protected]>
Subject: [dpdk-dev] [PATCH v2 14/62] common/sfc_efx/base: add action set
spec init/fini APIs
From: Ivan Malov <[email protected]>
The engine is only able to carry out chosen actions on matching packets in a
strict order. No MCDI exists to identify supported actions and the order.
Still, the definition of the latter is available from the FW documentation.
The general idea is to define an action specification structure and supply a
client driver with APIs for adding actions individually, order-dependent.
A client driver is supposed to invoke an API on every action passed by the
application, and if an out-of-order action follows, the API will reject it.
Add an action set specification stub and supply initialise / finalise APIs.
Signed-off-by: Ivan Malov <[email protected]>
Signed-off-by: Andrew Rybchenko <[email protected]>
Reviewed-by: Andy Moreton <[email protected]>
---
This patch is causing the following build failure on CentOS 7 with clang 3.4.2:
"""
In file included from drivers/common/sfc_efx/base/efx_crc32.c:8:
drivers/common/sfc_efx/base/efx_impl.h:1703:3: error: redefinition of typedef
'efx_mae_actions_t' is a C11 feature [-Werror,-Wtypedef-redefinition] }
efx_mae_actions_t;
drivers/common/sfc_efx/base/efx.h:4101:34: note: previous definition is here
typedef struct efx_mae_actions_s efx_mae_actions_t;
"""
Hi Andrew,
Are you working on this?