diff options
author | Petr Machata | 2018-02-13 11:27:48 +0100 |
---|---|---|
committer | David S. Miller | 2018-02-13 18:26:25 +0100 |
commit | a629ef210d890bc279280d5f53ef72e10ad8a523 (patch) | |
tree | 7bb6a17cc2aa01e2529e59fa9d3065bba9b53472 /drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c | |
parent | mlxsw: spectrum: Drop struct span_entry.used (diff) | |
download | kernel-qcow2-linux-a629ef210d890bc279280d5f53ef72e10ad8a523.tar.gz kernel-qcow2-linux-a629ef210d890bc279280d5f53ef72e10ad8a523.tar.xz kernel-qcow2-linux-a629ef210d890bc279280d5f53ef72e10ad8a523.zip |
mlxsw: spectrum: Move SPAN code to separate module
For the upcoming work on SPAN, it makes sense to move the current code
to a module of its own. It already has a well-defined API boundary to
the mirror management (which is used from matchall and ACL code). A
couple more functions need to be exported for the functions that
spectrum.c needs to use for MTU handling and subsystem init/fini.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c index 6ca6894125f0..f7e61cecc42b 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c @@ -35,6 +35,7 @@ #include "spectrum_acl_flex_actions.h" #include "core_acl_flex_actions.h" +#include "spectrum_span.h" #define MLXSW_SP_KVDL_ACT_EXT_SIZE 1 |