aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-03-16 15:32:23 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-16 15:32:23 -0700
commit46bb5a9c8b8d6d99aa9e11a799e1e1da9efe7b6a (patch)
tree31b166d32d7cafa625c79fdc257c2ce04a3aed27 /net/lapb/lapb_timer.c
parent5bdbdb823f03caddb281eb733a17450298700818 (diff)
parent0f967d9e5a20aeee51bb004295e83c2c913cceda (diff)
downloadlinux-46bb5a9c8b8d6d99aa9e11a799e1e1da9efe7b6a.tar.gz
linux-46bb5a9c8b8d6d99aa9e11a799e1e1da9efe7b6a.tar.bz2
linux-46bb5a9c8b8d6d99aa9e11a799e1e1da9efe7b6a.zip
Merge branch 'mlxsw-Add-support-for-egress-and-policy-based-sampling'
Ido Schimmel says: ==================== mlxsw: Add support for egress and policy-based sampling So far mlxsw only supported ingress sampling using matchall classifier. This series adds support for egress sampling and policy-based sampling using flower classifier on Spectrum-2 and newer ASICs. As such, it is now possible to issue these commands: # tc filter add dev swp1 egress pref 1 proto all matchall action sample rate 100 group 1 # tc filter add dev swp2 ingress pref 1 proto ip flower dst_ip 198.51.100.1 action sample rate 100 group 2 When performing egress sampling (using either matchall or flower) the ASIC is able to report the end-to-end latency which is passed to the psample module. Series overview: Patches #1-#3 are preparations without any functional changes Patch #4 generalizes the idea of sampling triggers and creates a hash table to track active sampling triggers in preparation for egress and policy-based triggers. The motivation is explained in the changelog Patch #5 flips mlxsw to start using this hash table instead of storing ingress sampling triggers as an attribute of the sampled port Patch #6 finally adds support for egress sampling using matchall classifier Patches #7-#8 add support for policy-based sampling using flower classifier Patches #9 extends the mlxsw sampling selftest to cover the new triggers Patch #10 makes sure that egress sampling configuration only fails on Spectrum-1 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions