diff options
author | Wei Fang <wei.fang@nxp.com> | 2025-05-06 16:07:26 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-08 19:43:51 -0700 |
commit | df6cb095808936eb32b671d1daf80c4c5653e4d3 (patch) | |
tree | 7748ec4d9327601dc36bf20b161c274a89d9056a /drivers/net/ethernet/freescale/fsl_pq_mdio.c | |
parent | 6c5bafba347b0e080cae15a73fae67fa79975c97 (diff) |
net: enetc: add debugfs interface to dump MAC filter
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/fsl_pq_mdio.c')
0 files changed, 0 insertions, 0 deletions