GNU Linux-libre 6.9-gnu
[releases.git] / Documentation / networking / net_cachelines / inet_sock.rst
1 .. SPDX-License-Identifier: GPL-2.0
2 .. Copyright (C) 2023 Google LLC
3
4 ==========================================
5 inet_sock struct fast path usage breakdown
6 ==========================================
7
8 Type                    Name                  fastpath_tx_access  fastpath_rx_access  comment
9 ..struct                ..inet_sock                                                     
10 struct_sock             sk                    read_mostly         read_mostly         tcp_init_buffer_space,tcp_init_transfer,tcp_finish_connect,tcp_connect,tcp_send_rcvq,tcp_send_syn_data
11 struct_ipv6_pinfo*      pinet6                -                   -                   
12 be16                    inet_sport            read_mostly         -                   __tcp_transmit_skb
13 be32                    inet_daddr            read_mostly         -                   ip_select_ident_segs
14 be32                    inet_rcv_saddr        -                   -                   
15 be16                    inet_dport            read_mostly         -                   __tcp_transmit_skb
16 u16                     inet_num              -                   -                   
17 be32                    inet_saddr            -                   -                   
18 s16                     uc_ttl                read_mostly         -                   __ip_queue_xmit/ip_select_ttl
19 u16                     cmsg_flags            -                   -                   
20 struct_ip_options_rcu*  inet_opt              read_mostly         -                   __ip_queue_xmit
21 u16                     inet_id               read_mostly         -                   ip_select_ident_segs
22 u8                      tos                   read_mostly         -                   ip_queue_xmit
23 u8                      min_ttl               -                   -                   
24 u8                      mc_ttl                -                   -                   
25 u8                      pmtudisc              -                   -                   
26 u8:1                    recverr               -                   -                   
27 u8:1                    is_icsk               -                   -                   
28 u8:1                    freebind              -                   -                   
29 u8:1                    hdrincl               -                   -                   
30 u8:1                    mc_loop               -                   -                   
31 u8:1                    transparent           -                   -                   
32 u8:1                    mc_all                -                   -                   
33 u8:1                    nodefrag              -                   -                   
34 u8:1                    bind_address_no_port  -                   -                   
35 u8:1                    recverr_rfc4884       -                   -                   
36 u8:1                    defer_connect         read_mostly         -                   tcp_sendmsg_fastopen
37 u8                      rcv_tos               -                   -                   
38 u8                      convert_csum          -                   -                   
39 int                     uc_index              -                   -                   
40 int                     mc_index              -                   -                   
41 be32                    mc_addr               -                   -                   
42 struct_ip_mc_socklist*  mc_list               -                   -                   
43 struct_inet_cork_full   cork                  read_mostly         -                   __tcp_transmit_skb
44 struct                  local_port_range      -                   -