mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 22:45:11 +07:00
0e14c7777a
Implement the multicast routing hardware API introduced in previous patch for the specific spectrum hardware. The spectrum hardware multicast routes are written using the RMFT2 register and point to an ACL flexible action set. The actions used for multicast routes are: - Counter action, which allows counting bytes and packets on multicast routes. - Multicast route action, which provide RPF check and do the actual packet duplication to a list of RIFs. - Trap action, in the case the route action specified by the called is trap. Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.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
|
|
mlxsw_pci-objs := pci.o
|
|
obj-$(CONFIG_MLXSW_I2C) += mlxsw_i2c.o
|
|
mlxsw_i2c-objs := i2c.o
|
|
obj-$(CONFIG_MLXSW_SWITCHIB) += mlxsw_switchib.o
|
|
mlxsw_switchib-objs := switchib.o
|
|
obj-$(CONFIG_MLXSW_SWITCHX2) += mlxsw_switchx2.o
|
|
mlxsw_switchx2-objs := switchx2.o
|
|
obj-$(CONFIG_MLXSW_SPECTRUM) += mlxsw_spectrum.o
|
|
mlxsw_spectrum-objs := spectrum.o spectrum_buffers.o \
|
|
spectrum_switchdev.o spectrum_router.o \
|
|
spectrum_kvdl.o spectrum_acl_tcam.o \
|
|
spectrum_acl.o spectrum_flower.o \
|
|
spectrum_cnt.o spectrum_fid.o \
|
|
spectrum_ipip.o spectrum_acl_flex_actions.o \
|
|
spectrum_mr.o spectrum_mr_tcam.o
|
|
mlxsw_spectrum-$(CONFIG_MLXSW_SPECTRUM_DCB) += spectrum_dcb.o
|
|
mlxsw_spectrum-$(CONFIG_NET_DEVLINK) += spectrum_dpipe.o
|
|
obj-$(CONFIG_MLXSW_MINIMAL) += mlxsw_minimal.o
|
|
mlxsw_minimal-objs := minimal.o
|