linux-stable/drivers/net/ethernet/microchip/sparx5
Steen Hegelund 6745671701 net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups
Use a tc matchall rule with a goto action to the VCAP specific chain to
enable the VCAP lookups.
If the matchall rule is removed the VCAP lookups will be disabled
again using its cookie as lookup to find the VCAP instance.

To enable the Sparx5 IS2 VCAP on eth0 you would use this command:

    tc filter add dev eth0 ingress prio 5 handle 5 matchall \
        skip_sw action goto chain 8000000

as the first lookup in IS2 has chain id 8000000

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-11 10:39:12 +00:00
..
Kconfig net: microchip: sparx5: add support for offloading pcp table 2022-11-03 15:16:50 +01:00
Makefile net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups 2022-11-11 10:39:12 +00:00
sparx5_calendar.c net: sparx5: add calendar bandwidth allocation support 2021-06-24 11:28:13 -07:00
sparx5_dcb.c net: microchip: sparx5: add support for offloading default prio 2022-11-03 15:16:50 +01:00
sparx5_ethtool.c net: sparx5: Implement get_ts_info 2022-03-04 13:03:10 +00:00
sparx5_fdma.c eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
sparx5_mactable.c net: sparx5: fix function return type to match actual type 2022-09-08 15:00:56 +02:00
sparx5_main.c net: microchip: sparx5: Adding initial VCAP API support 2022-10-24 10:37:42 +01:00
sparx5_main.h net: microchip: sparx5: add support for offloading pcp table 2022-11-03 15:16:50 +01:00
sparx5_main_regs.h net: microchip: sparx5: add support for offloading pcp table 2022-11-03 15:16:50 +01:00
sparx5_netdev.c net: microchip: sparx5: add support for offloading mqprio qdisc 2022-09-23 09:53:10 +01:00
sparx5_packet.c net: sparx5: Fix return type of sparx5_port_xmit_impl 2022-10-03 08:07:40 +01:00
sparx5_pgid.c net: sparx5: Refactor mdb handling according to feedback 2022-03-25 15:45:14 -07:00
sparx5_phylink.c net: remove explicit phylink_generic_validate() references 2022-11-07 17:54:57 -08:00
sparx5_port.c net: microchip: sparx5: add support for offloading default prio 2022-11-03 15:16:50 +01:00
sparx5_port.h net: microchip: sparx5: add support for offloading default prio 2022-11-03 15:16:50 +01:00
sparx5_ptp.c net: sparx5: fix a couple warning messages 2022-03-15 16:07:19 +01:00
sparx5_qos.c net: microchip: sparx5: add support for offloading pcp table 2022-11-03 15:16:50 +01:00
sparx5_qos.h net: microchip: sparx5: add support for offloading ets qdisc 2022-09-23 09:53:10 +01:00
sparx5_switchdev.c net: sparx5: add support for mrouter ports 2022-08-29 12:57:38 +01:00
sparx5_tc.c net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups 2022-11-11 10:39:12 +00:00
sparx5_tc.h net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups 2022-11-11 10:39:12 +00:00
sparx5_tc_flower.c net: microchip: sparx5: Match keys in configured port keysets 2022-11-11 10:39:12 +00:00
sparx5_tc_matchall.c net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups 2022-11-11 10:39:12 +00:00
sparx5_vcap_ag_api.c net: microchip: sparx5: Adding IS2 VCAP model to VCAP API 2022-10-24 10:37:42 +01:00
sparx5_vcap_ag_api.h net: microchip: sparx5: Adding IS2 VCAP model to VCAP API 2022-10-24 10:37:42 +01:00
sparx5_vcap_impl.c net: microchip: sparx5: Add tc matchall filter and enable VCAP lookups 2022-11-11 10:39:12 +00:00
sparx5_vcap_impl.h net: microchip: sparx5: Adding initial tc flower support for VCAP API 2022-10-24 10:37:43 +01:00
sparx5_vlan.c net: sparx5: add support for mrouter ports 2022-08-29 12:57:38 +01:00