aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2022-04-05 21:57:55 +0200
committerDavid S. Miller <[email protected]>2022-04-06 14:08:51 +0100
commit33fc42de33278b2b3ec6f3390512987bc29a62b7 (patch)
treeb006485b88f1745e80888a219df1f616f3bd90cc /tools/perf/scripts/python
parent8ff25d377445dcc587584b7c0228bf0eafb26f9f (diff)
net: ethernet: mtk_eth_soc: support creating mac address based offload entries
This will be used to implement a limited form of bridge offloading. Since the hardware does not support flow table entries with just source and destination MAC address, the driver has to emulate it. The hardware automatically creates entries entries for incoming flows, even when they are bridged instead of routed, and reports when packets for these flows have reached the minimum PPS rate for offloading. After this happens, we look up the L2 flow offload entry based on the MAC header and fill in the output routing information in the flow table. The dynamically created per-flow entries are automatically removed when either the hardware flowtable entry expires, is replaced, or if the offload rule they belong to is removed Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions