diff options
author | Ido Schimmel <[email protected]> | 2024-09-11 12:37:45 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-09-13 21:15:45 -0700 |
commit | 2cf630034e4ebcc52e0b69b776cafd90dc4f3919 (patch) | |
tree | 14fea58550aa46af9c7c672e9eb9bccb5ab9901b /tools/perf/scripts/python/stackcollapse.py | |
parent | b9455fef8b1fc662369d982fe97dc66e6c332699 (diff) |
ipv6: fib_rules: Add DSCP selector support
Implement support for the new DSCP selector that allows IPv6 FIB rules
to match on the entire DSCP field. This is done despite the fact that
the above can be achieved using the existing TOS selector, so that user
space program will be able to work with IPv4 and IPv6 rules in the same
way.
Differentiate between both selectors by adding a new bit in the IPv6 FIB
rule structure that is only set when the 'FRA_DSCP' attribute is
specified by user space. Reject rules that use both selectors.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Guillaume Nault <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions