linux/drivers/net/dsa/mv88e6xxx
Cedric Jehasse 639f1dcfde net: dsa: mv88e6xxx: Add partial support for TCAM entries
This patch adds partial Ternary Content Addressable Memory (TCAM) for
the mv88e6390 and mv88e6393 family of switches. TCAM entries allow the
switch to match the first 48 or 96 bytes of a frame and take actions on
matched frames.

This patch introduces a subset of the available TCAM functionality.
Matching on ip addresses/protocol and trapping to the cpu.

Eg. to trap traffic with destination ip 224.0.1.129 to the cpu:

tc qdisc add dev p1 clsact
tc filter add dev p1 ingress protocol ip flower skip_sw \
    dst_ip 224.0.1.129 action trap

Signed-off-by: Cedric Jehasse <cedric.jehasse@luminex.be>
Link: https://patch.msgid.link/20260311-net-next-mv88e6xxx-tcam-v8-2-32dd5ba30002@luminex.be
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-03-17 10:35:20 +01:00
..
chip.c net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
chip.h net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
devlink.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
devlink.h
global1_atu.c net: dsa: mv88e6xxx: Fix out-of-bound access 2024-08-20 16:53:21 -07:00
global1_vtu.c net: dsa: mv88e6xxx: Add FID map cache 2024-10-08 15:30:55 -07:00
global1.c net: dsa: mv88e6xxx: Avoid EEPROM timeout without EEPROM on 88E6250-family switches 2024-04-25 11:24:07 +01:00
global1.h net: dsa: mv88e6xxx: Avoid EEPROM timeout without EEPROM on 88E6250-family switches 2024-04-25 11:24:07 +01:00
global2_avb.c
global2_scratch.c net: dsa: mv88e6xxx: Remove stale comment 2024-08-28 17:54:58 -07:00
global2.c net: Use dev_fwnode() 2025-06-12 18:46:37 -07:00
global2.h
hwtstamp.c net: dsa: mv88e6xxx: remove duplicated register definition 2025-09-17 18:21:07 -07:00
hwtstamp.h net: dsa: mv88e6xxx: move mv88e6xxx_hwtstamp_work() prototype 2025-09-17 18:21:12 -07:00
Kconfig net: dsa: mv88e6xxx: Support LED control 2024-10-04 15:31:28 -07:00
leds.c net: dsa: mv88e6xxx: Fix fwnode reference leaks in mv88e6xxx_port_setup_leds 2025-09-02 17:04:03 -07:00
Makefile net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
pcs-639x.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcs-6185.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pcs-6352.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
phy.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
phy.h
port_hidden.c
port.c net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
port.h net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
ptp.c net: dsa: mv88e6xxx: rename TAI definitions according to core 2025-09-17 18:21:01 -07:00
ptp.h net: dsa: mv88e6xxx: move mv88e6xxx_hwtstamp_work() prototype 2025-09-17 18:21:12 -07:00
serdes.c Revert "dsa: mv88e6xxx: make serdes SGMII/Fiber tx amplitude configurable" 2026-01-06 16:53:18 -08:00
serdes.h Revert "dsa: mv88e6xxx: make serdes SGMII/Fiber tx amplitude configurable" 2026-01-06 16:53:18 -08:00
smi.c
smi.h
switchdev.c
switchdev.h
tcam.c net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
tcam.h net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
tcflower.c net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
tcflower.h net: dsa: mv88e6xxx: Add partial support for TCAM entries 2026-03-17 10:35:20 +01:00
trace.c
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00