]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv4: fib_rules: Add DSCP mask matching
authorIdo Schimmel <idosch@nvidia.com>
Thu, 20 Feb 2025 08:05:21 +0000 (10:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 22 Feb 2025 00:08:47 +0000 (16:08 -0800)
commit2ae00699b357618959f815f8f08bddee72c85a72
tree3c375c16f013919233a188c6786119046c5e9f76
parentca4edd969a9483b1a1837056641019f62287063f
ipv4: fib_rules: Add DSCP mask matching

Extend IPv4 FIB rules to match on DSCP using a mask. The mask is only
set in rules that match on DSCP (not TOS) and initialized to cover the
entire DSCP field if the mask attribute is not specified.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20250220080525.831924-3-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/fib_rules.c