summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/Makefile
diff options
context:
space:
mode:
authorJiri Pirko2017-02-03 10:29:01 +0100
committerDavid S. Miller2017-02-03 22:35:41 +0100
commit3f1a84e6962c7fd0703b9bb5db0355d1c28b201a (patch)
treec30098df0efe495629aa62c078b8c6282d54bf3f /drivers/net/ethernet/mellanox/mlxsw/Makefile
parentmlxsw: reg: Add Policy-Engine Extended Flexible Action Register (diff)
downloadkernel-qcow2-linux-3f1a84e6962c7fd0703b9bb5db0355d1c28b201a.tar.gz
kernel-qcow2-linux-3f1a84e6962c7fd0703b9bb5db0355d1c28b201a.tar.xz
kernel-qcow2-linux-3f1a84e6962c7fd0703b9bb5db0355d1c28b201a.zip
mlxsw: core: Introduce flexible keys support
Hardware supports matching on so called "flexible keys". The idea is to assemble an optimal key to use for matching according to the fields in packet (elements) requested by user. Certain sets of elements are combined into pre-defined blocks. There is a picker to find needed blocks. Keys consist of 1..n blocks. Alongside with that, an initial portion of elements is introduced in order to be able to offload basic cls_flower rules. Picked keys are cached so multiple rules could share them. There is an encode function provided that takes care of encoding key and mask values according to given key. 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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile
index fe8dadba15ab..6a83768e445e 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/Makefile
+++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile
@@ -1,5 +1,5 @@
obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o
-mlxsw_core-objs := core.o
+mlxsw_core-objs := core.o core_acl_flex_keys.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