]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'net-fib_rules-add-dscp-mask-support'
authorJakub Kicinski <kuba@kernel.org>
Sat, 22 Feb 2025 00:08:54 +0000 (16:08 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 22 Feb 2025 00:08:55 +0000 (16:08 -0800)
commit27422c373897b27e935159360bb35c4b26ecc2b1
treeabb3aa2cf7678fee04f5ac16949956145572c715
parente87700965abeddcdb84c9540107c69ce08b87431
parente818d1d1a6eeaa75ad7a44082e546de897308de1
Merge branch 'net-fib_rules-add-dscp-mask-support'

Ido Schimmel says:

====================
net: fib_rules: Add DSCP mask support

In some deployments users would like to encode path information into
certain bits of the IPv6 flow label, the UDP source port and the DSCP
field and use this information to route packets accordingly.

Redirecting traffic to a routing table based on specific bits in the
DSCP field is not currently possible. Only exact match is currently
supported by FIB rules.

This patchset extends FIB rules to match on the DSCP field with an
optional mask.

Patches #1-#5 gradually extend FIB rules to match on the DSCP field with
an optional mask.

Patch #6 adds test cases for the new functionality.

iproute2 support can be found here [1].

[1] https://github.com/idosch/iproute2/tree/submit/fib_rule_mask_v1
====================

Link: https://patch.msgid.link/20250220080525.831924-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>