freebsd-src/sys/netinet
Andrew Gallatin 21865c9708 tcp: Unifidef use of rss software hash in syncache
Ever since "d9c55b2e8cd6 rss: Enable portions of RSS globally.."
exposed the RSS software hashing functions, it has been possible
to use them without "ifdef RSS".   Do so now in the syncache
so as to get flowids recorded.

Note that the use of the rss hash functions is conditional on IP versions,
so we must ifdef INET to ensure rss_proto_software_hash_v4() is available.

Fixes 73fe85e486
Sponsored by: Netflix
Reviewed by: glebius, p.mousavizadeh_protonmail.com, nickbanks_netflix.com, tuexen
Differential Revision: https://reviews.freebsd.org/D54534
2026-01-05 15:57:11 -05:00
..
cc netinet: Use proper prototype for SYSINIT functions 2025-10-13 18:12:33 +08:00
khelp
libalias libalias: quiet gcc -Wcalloc-transposed-args 2025-10-17 15:43:06 -07:00
netdump
tcp_stacks TCP Stacks, Improve rack to better handle reordering 2026-01-05 11:30:22 -05:00
accf_data.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
accf_dns.c
accf_http.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
accf_tls.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
dccp.h Decorate IPv4 structures used for byte buffer overlays as packed. 2025-05-04 13:48:04 +02:00
icmp6.h net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
icmp_var.h icmp: remove unused BANDLIM_UNLIMITED 2025-08-11 18:46:08 +02:00
if_ether.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
if_ether.h
igmp.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
igmp.h
igmp_var.h
in.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
in.h net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
in_cksum.c
in_debug.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_fib.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_fib.h
in_fib_algo.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_fib_dxr.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_gif.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_jail.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_kdtrace.c tcp: add missing SDT probes 2025-06-17 09:52:51 -07:00
in_kdtrace.h tcp: add missing SDT probes 2025-06-17 09:52:51 -07:00
in_mcast.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
in_pcb.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
in_pcb.h ddb: provide inp_flags2 when printing inpcbs 2025-11-03 06:17:29 -05:00
in_pcb_var.h
in_prot.c netinet/in_prot.c: normalize includes 2025-06-10 02:47:13 +03:00
in_proto.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
in_rmx.c net: routing table attach never fails 2025-12-04 11:12:03 -08:00
in_rss.c rss: Enable portions of RSS globally to enable symmetric hashing 2025-11-22 09:29:31 -05:00
in_rss.h
in_systm.h inpcb: provide policy cr_canexport_ktlskeys() and the privilege PRIV_NETINET_KTLSKEYS 2025-06-10 02:47:13 +03:00
in_var.h net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
ip.h Decorate IPv4 structures used for byte buffer overlays as packed. 2025-05-04 13:48:04 +02:00
ip6.h
ip_carp.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_carp.h
ip_carp_nl.h
ip_divert.c divert: Use CK_SLISTs for the divcb hash table 2025-12-03 13:43:04 +00:00
ip_divert.h
ip_dummynet.h
ip_ecn.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_ecn.h ip: use standard C types for ECN helper functions 2025-11-21 08:58:12 +01:00
ip_encap.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_encap.h
ip_fastfwd.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_fw.h ipfw: add extra parenthesis around ACTION_PTR() macro 2025-11-21 14:43:47 -08:00
ip_gre.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_icmp.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_icmp.h
ip_id.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_input.c net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9) 2025-12-18 11:15:53 -08:00
ip_mroute.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_mroute.h
ip_options.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_options.h
ip_output.c tcp: fix checksum calculation bug 2025-12-19 17:50:20 +01:00
ip_reass.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
ip_var.h netinet: provide "at offset" variant of the in_delayed_cksum() API 2025-08-25 21:34:45 -07:00
pim.h Decorate IPv4 structures used for byte buffer overlays as packed. 2025-05-04 13:48:04 +02:00
pim_var.h
raw_ip.c ipfw: Retire obsolete compat code 2025-10-27 15:45:27 -04:00
sctp.h
sctp_asconf.c
sctp_asconf.h
sctp_auth.c
sctp_auth.h
sctp_bsd_addr.c sctp: ensure correct sctp_gather_internal_ifa_flags usage 2025-05-05 22:50:42 +02:00
sctp_bsd_addr.h
sctp_cc_functions.c
sctp_constants.h
sctp_crc32.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
sctp_crc32.h
sctp_header.h
sctp_indata.c
sctp_indata.h
sctp_input.c sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
sctp_input.h
sctp_kdtrace.c
sctp_kdtrace.h
sctp_lock_bsd.h mtx: rename MTX_CONTESTED to MTX_WAITERS 2025-10-06 02:19:38 +00:00
sctp_module.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
sctp_os.h
sctp_os_bsd.h
sctp_output.c
sctp_output.h
sctp_pcb.c sctp: compute address flags only for IPv6 addresses 2025-05-05 22:43:50 +02:00
sctp_pcb.h
sctp_peeloff.c
sctp_peeloff.h
sctp_ss_functions.c
sctp_structs.h
sctp_syscalls.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
sctp_sysctl.c sctp: don't report unusable addresses via sysctl interface 2025-05-05 00:28:52 +02:00
sctp_sysctl.h
sctp_timer.c sctp: whitespace cleanup 2025-07-27 12:49:45 +02:00
sctp_timer.h
sctp_uio.h
sctp_usrreq.c
sctp_var.h
sctputil.c
sctputil.h
siftr.c style(9): white space after ; and around binary operators 2025-10-16 15:02:50 -07:00
tcp.h tcp: remove unused define 2025-10-31 14:31:20 +01:00
tcp_accounting.h
tcp_ecn.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_ecn.h
tcp_fastopen.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_fastopen.h
tcp_fsm.h
tcp_hostcache.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_hpts.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_hpts.h TCP Pacing system (HPTS) is missing an API 2025-11-18 10:18:25 -05:00
tcp_hpts_internal.h tcp: add missing header file 2025-10-13 22:45:39 +02:00
tcp_hpts_test.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_input.c tcp: retire do_newsack - always adhere to RFC6675 SACK 2025-12-05 14:10:37 +01:00
tcp_log_buf.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_log_buf.h tcp: remove trailing whitespaces 2025-07-24 18:17:35 +02:00
tcp_lro.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_lro.h
tcp_lro_hpts.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_offload.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_offload.h
tcp_output.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_ratelimit.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_ratelimit.h
tcp_reass.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_sack.c tcp: retire do_newsack - always adhere to RFC6675 SACK 2025-12-05 14:10:37 +01:00
tcp_seq.h
tcp_stats.c
tcp_subr.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_syncache.c tcp: Unifidef use of rss software hash in syncache 2026-01-05 15:57:11 -05:00
tcp_syncache.h tcp: store flowid info in syncache 2025-12-03 15:19:44 -08:00
tcp_timer.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_timer.h tcp: allow specifying a MSL for local communications 2025-06-26 18:59:36 +02:00
tcp_timewait.c tpc: retire net.inet.tcp.nolocaltimewait 2025-12-12 09:22:56 -08:00
tcp_usrreq.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
tcp_var.h tcp: retire do_newsack - always adhere to RFC6675 SACK 2025-12-05 14:10:37 +01:00
tcpip.h
toecore.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
toecore.h Remove remaining mentions of pr_usrreq. 2025-05-08 16:29:15 +02:00
udp.h Decorate IPv4 structures used for byte buffer overlays as packed. 2025-05-04 13:48:04 +02:00
udp_usrreq.c netinet: Remove left-over sys/cdefs.h 2025-12-02 22:02:10 -07:00
udp_var.h UDP-Lite: export pcblist via sysctl interface 2025-10-23 09:10:03 +02:00
udplite.h