Signed-off-by: Dmitry Safonov <0x7f454c46@xxxxxxxxx> --- Changes in v3: - Unexported tcp_inbound_ao_hash() and made static (Eric Dumazet) - Link to v2: https://lore.kernel.org/r/20240605-tcp_ao-tracepoints-v2-0-e91e161282ef@xxxxxxxxx Changes in v2: - Fix the build with CONFIG_IPV6=m (Eric Dumazet) - Move unused keyid/rnext/maclen later in the series to the patch that uses them (Simon Horman) - Reworked tcp_ao selftest lib to allow async tracing non-tcp events (was working on a stress-test that needs trace_kfree_skb() event, not in this series). - Separated selftest changes from kernel, as they now have a couple of unrelated to tracepoints changes - Wrote a few lines of Documentation/ - Link to v1: https://lore.kernel.org/r/20240224-tcp-ao-tracepoints-v1-0-15f31b7f30a7@xxxxxxxxxx --- Dmitry Safonov (6): net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefs net/tcp: Add a helper tcp_ao_hdr_maclen() net/tcp: Move tcp_inbound_hash() from headers net/tcp: Add tcp-md5 and tcp-ao tracepoints net/tcp: Remove tcp_hash_fail() Documentation/tcp-ao: Add a few lines on tracepoints Documentation/networking/tcp_ao.rst | 9 + include/net/tcp.h | 92 +---------- include/net/tcp_ao.h | 42 +---- include/trace/events/tcp.h | 317 ++++++++++++++++++++++++++++++++++++ net/ipv4/tcp.c | 90 ++++++++-- net/ipv4/tcp_ao.c | 24 +-- net/ipv4/tcp_input.c | 8 +- net/ipv4/tcp_ipv4.c | 8 +- net/ipv4/tcp_output.c | 2 + 9 files changed, 435 insertions(+), 157 deletions(-) --- base-commit: d223d1947dadec37d2bb5efbda9fc34c03b9a784 change-id: 20240531-tcp_ao-tracepoints-fa2e14e1f0dd Best regards, -- Dmitry Safonov <0x7f454c46@xxxxxxxxx>