]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: f_flower: add support for matching on tunnel metadata
authorDavide Caratti <dcaratti@redhat.com>
Tue, 16 Jul 2024 08:57:20 +0000 (10:57 +0200)
committerDavid Ahern <dsahern@kernel.org>
Sun, 4 Aug 2024 15:20:32 +0000 (15:20 +0000)
commit0941975dc8873e00260e8eea66813589827080e5
treeaca8be5aa1d3dfa3df27e184b3bb14192ef8c5ca
parent049a2b5678d544365cf036b029998b1364f5d788
tc: f_flower: add support for matching on tunnel metadata

extend TC flower for matching on tunnel metadata.

Changes since v2:
 - split uAPI changes and TC code in separate patches, as per David's request [2]

Changes since v1:
 - fix incostintent naming in explain() and in tc-flower.8 (Asbjørn)

Changes since RFC:
 - update uAPI bits to Asbjørn's most recent code [1]
 - add 'tun' prefix to all flag names (Asbjørn)
 - allow parsing 'enc_flags' multiple times, without clearing the match
   mask every time, like happens for 'ip_flags' (Asbjørn)
 - don't use "matches()" for parsing argv[]  (Stephen)
 - (hopefully) improve usage() printout (Asbjørn)
 - update man page

[1] https://lore.kernel.org/netdev/20240709163825.1210046-1-ast@fiberby.net/
[2] https://lore.kernel.org/netdev/cc73004c-9aa8-9cd3-b46e-443c0727c34d@kernel.org/

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/tc-flower.8
tc/f_flower.c