summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/Makefile
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-03 10:29:02 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-03 16:35:41 -0500
commit4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d (patch)
tree77efa36429fa76952bf0c383d97b3da1c2907f00 /drivers/net/ethernet/mellanox/mlxsw/Makefile
parent3f1a84e6962c7fd0703b9bb5db0355d1c28b201a (diff)
downloadlinux-stable-4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d.tar.gz
linux-stable-4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d.tar.bz2
linux-stable-4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d.zip
mlxsw: core: Introduce flexible actions support
Each entry which is matched during ACL lookup points to an action set. This action set contains up to three separate actions. If more actions are needed to be chained, the extended set is created to hold them in KVD linear area. This patch implements handling of sets and encoding of actions. Currectly, only two actions are supported. Drop and forward. Forward action uses PBS pointer to KVD linear area, so the action code needs to take care of this as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/Makefile')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile
index 6a83768e445e..c4c48baf0c3f 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/Makefile
+++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile
@@ -1,5 +1,6 @@
obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o
-mlxsw_core-objs := core.o core_acl_flex_keys.o
+mlxsw_core-objs := core.o core_acl_flex_keys.o \
+ core_acl_flex_actions.o
mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o
mlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o
obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o