mbox series

[net-next,0/3] Add L2 hw acceleration for airoha_eth driver

Message ID 20250407-airoha-flowtable-l2b-v1-0-18777778e568@kernel.org (mailing list archive)
Headers show
Series Add L2 hw acceleration for airoha_eth driver | expand

Message

Lorenzo Bianconi April 7, 2025, 2:18 p.m. UTC
Introduce the capability to offload L2 traffic defining flower rules in
the PSE/PPE engine available on EN7581 SoC.
Since the hw always reports L2/L3/L4 flower rules, link all L2 rules
sharing the same L2 info (with different L3/L4 info) in the L2 subflows
list of a given L2 PPE entry.

---
Lorenzo Bianconi (3):
      net: airoha: Add l2_flows rhashtable
      net: airoha: Add airoha_ppe_foe_flow_remove_entry_locked()
      net: airoha: Add L2 hw acceleration support

 drivers/net/ethernet/airoha/airoha_eth.c |   2 +-
 drivers/net/ethernet/airoha/airoha_eth.h |  22 ++-
 drivers/net/ethernet/airoha/airoha_ppe.c | 224 ++++++++++++++++++++++++++-----
 3 files changed, 215 insertions(+), 33 deletions(-)
---
base-commit: 61f96e684edd28ca40555ec49ea1555df31ba619
change-id: 20250313-airoha-flowtable-l2b-e0b50d4a3215

Best regards,