iproute2/tc
Davide Caratti 0941975dc8 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>
2024-08-04 15:20:32 +00:00
..
.gitignore make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
e_bpf.c tc: make exec_util arg const 2024-03-12 15:11:43 -07:00
em_canid.c spelling fixes 2024-01-25 16:49:10 -08:00
em_cmp.c tc: use SPDX 2023-01-14 09:00:34 -08:00
em_ipset.c tc: use SPDX 2023-01-14 09:00:34 -08:00
em_ipt.c tc: use SPDX 2023-01-14 09:00:34 -08:00
em_meta.c tc: use SPDX 2023-01-14 09:00:34 -08:00
em_nbyte.c tc: use SPDX 2023-01-14 09:00:34 -08:00
em_u32.c tc: use SPDX 2023-01-14 09:00:34 -08:00
emp_ematch.l make yacc usage POSIX compatible 2020-01-20 09:43:22 -08:00
emp_ematch.y tc: use SPDX 2023-01-14 09:00:34 -08:00
f_basic.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_bpf.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_cgroup.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_flow.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_flower.c tc: f_flower: add support for matching on tunnel metadata 2024-08-04 15:20:32 +00:00
f_fw.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_matchall.c tc: make filter_util args const 2024-03-12 15:11:43 -07:00
f_route.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
f_u32.c Merge remote-tracking branch 'main/main' into next 2024-05-03 15:40:02 +00:00
m_action.c tc/util: remove unused argument from print_tcstats2_attr 2024-04-21 01:45:48 +00:00
m_bpf.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_connmark.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_csum.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_ct.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_ctinfo.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_ematch.c Read configuration files from /etc and /usr 2023-07-26 09:06:03 -07:00
m_ematch.h tc/ematch: make local functions static 2018-11-19 11:42:44 -08:00
m_estimator.c tc: use SPDX 2023-01-14 09:00:34 -08:00
m_gact.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_gate.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_ife.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_mirred.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_mpls.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_nat.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_pedit.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_pedit.h tc: use SPDX 2023-01-14 09:00:34 -08:00
m_police.c tc/police: remove unused argument to tc_print_police 2024-04-21 01:45:38 +00:00
m_sample.c Merge remote-tracking branch 'main/main' into next 2024-05-03 15:40:02 +00:00
m_simple.c tc/util: remove unused argument from print_tm 2024-04-21 01:41:56 +00:00
m_skbedit.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_skbmod.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_tunnel_key.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
m_vlan.c tc/util: remove unused argument from print_action_control 2024-04-21 01:43:52 +00:00
Makefile remove support for iptables action 2024-01-08 01:44:50 +00:00
p_eth.c tc: use SPDX 2023-01-14 09:00:34 -08:00
p_icmp.c tc: use SPDX 2023-01-14 09:00:34 -08:00
p_ip6.c tc: use SPDX 2023-01-14 09:00:34 -08:00
p_ip.c tc: use SPDX 2023-01-14 09:00:34 -08:00
p_tcp.c tc: use SPDX 2023-01-14 09:00:34 -08:00
p_udp.c tc: use SPDX 2023-01-14 09:00:34 -08:00
q_cake.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_cbs.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_choke.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_clsact.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_codel.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_drr.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_etf.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_ets.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_fifo.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_fq_codel.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_fq_pie.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_fq.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_gred.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_hfsc.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_hhf.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_htb.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_ingress.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_mqprio.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_multiq.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_netem.c netem: use 64 bit value for latency and jitter 2024-03-13 09:54:44 -07:00
q_pie.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_plug.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_prio.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_qfq.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_red.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_sfb.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_sfq.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_skbprio.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_taprio.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
q_tbf.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
static-syms.c SPDX license identifiers 2017-11-24 12:21:35 -08:00
tc_class.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
tc_common.h tc: add json support to size table 2022-11-22 20:46:57 -08:00
tc_core.c tc: remove no longer used helpers 2024-03-13 09:56:29 -07:00
tc_core.h tc: remove no longer used helpers 2024-03-13 09:56:29 -07:00
tc_estimator.c tc: use SPDX 2023-01-14 09:00:34 -08:00
tc_exec.c tc: make exec_util arg const 2024-03-12 15:11:43 -07:00
tc_filter.c tc: make filter_util args const 2024-03-12 15:11:43 -07:00
tc_monitor.c Revert "tc/tc_monitor: print netlink extack message" 2023-01-22 11:00:14 -07:00
tc_qdisc.c tc: make qdisc_util arg const 2024-03-12 15:11:43 -07:00
tc_qevent.c tc: Add space after format specifier 2020-07-29 17:03:46 +00:00
tc_qevent.h tc: Look for blocks in qevents 2020-07-20 16:34:02 +00:00
tc_red.c tc: use SPDX 2023-01-14 09:00:34 -08:00
tc_red.h tc: move RED flag printing to helper 2018-11-24 07:10:58 -08:00
tc_stab.c tc: use SPDX 2023-01-14 09:00:34 -08:00
tc_util.c tc/util: remove unused argument from print_tcstats2_attr 2024-04-21 01:45:48 +00:00
tc_util.h tc/util: remove unused argument from print_tcstats2_attr 2024-04-21 01:45:48 +00:00
tc.c use missing argument helper 2024-04-23 09:01:46 -07:00