mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 11:53:41 +00:00

ENETC's MAC filter consists of hash MAC filter and exact MAC filter. Hash MAC filter is a 64-bit entry hash table consisting of two 32-bit registers. Exact MAC filter is implemented by configuring MAC address filter table through command BD ring. The table is stored in ENETC's internal memory and needs to be read through command BD ring. In order to facilitate debugging, added a debugfs interface to get the relevant information about MAC filter. Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20250506080735.3444381-6-wei.fang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_FSL_ENETC_CORE) += fsl-enetc-core.o
|
|
fsl-enetc-core-y := enetc.o enetc_cbdr.o enetc_ethtool.o
|
|
|
|
obj-$(CONFIG_NXP_ENETC_PF_COMMON) += nxp-enetc-pf-common.o
|
|
nxp-enetc-pf-common-y := enetc_pf_common.o
|
|
|
|
obj-$(CONFIG_NXP_NETC_LIB) += nxp-netc-lib.o
|
|
nxp-netc-lib-y := ntmp.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
|
|
fsl-enetc-y := enetc_pf.o
|
|
fsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
|
|
fsl-enetc-$(CONFIG_FSL_ENETC_QOS) += enetc_qos.o
|
|
|
|
obj-$(CONFIG_NXP_ENETC4) += nxp-enetc4.o
|
|
nxp-enetc4-y := enetc4_pf.o
|
|
nxp-enetc4-$(CONFIG_DEBUG_FS) += enetc4_debugfs.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
|
|
fsl-enetc-vf-y := enetc_vf.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_IERB) += fsl-enetc-ierb.o
|
|
fsl-enetc-ierb-y := enetc_ierb.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_MDIO) += fsl-enetc-mdio.o
|
|
fsl-enetc-mdio-y := enetc_pci_mdio.o enetc_mdio.o
|
|
|
|
obj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
|
|
fsl-enetc-ptp-y := enetc_ptp.o
|
|
|
|
obj-$(CONFIG_NXP_NETC_BLK_CTRL) += nxp-netc-blk-ctrl.o
|
|
nxp-netc-blk-ctrl-y := netc_blk_ctrl.o
|