Documentation: networking: net_cachelines: Fix formatting
Subsystems (5)
PATCH 1/1 Documentation: networking: net_cachelines: Fix formatting
I stumbled over [0] being completely garbled.
Fix formatting by adding the required rst annotation for a Simple Table and remove unnecessary trailing whitespace. While at it, do the same for all the documents in the net_cachelines directory.
I have not checked the contents for correctness or completeness.
Links: [0] https://www.kernel.org/doc/html/latest/networking/net_cachelines/net_device.html
--- .../net_cachelines/inet_connection_sock.rst | 29 +- .../networking/net_cachelines/inet_sock.rst | 55 ++-- .../networking/net_cachelines/net_device.rst | 355 +++++++++++---------- .../net_cachelines/netns_ipv4_sysctl.rst | 213 +++++++------ Documentation/networking/net_cachelines/snmp.rst | 231 +++++++------- .../networking/net_cachelines/tcp_sock.rst | 145 ++++----- 6 files changed, 523 insertions(+), 505 deletions(-)
Documentation/networking/net_cachelines/inet_connection_sock.rst +16 -13
@@ -5,36 +5,38 @@ inet_connection_sock struct fast path usage breakdown ===================================================== +=================================== ====================== =================== =================== ============================================================================================================================================================= Type Name fastpath_tx_access fastpath_rx_access comment -..struct ..inet_connection_sock +=================================== ====================== =================== =================== ============================================================================================================================================================= +..struct ..inet_connection_sock struct_inet_sock icsk_inet read_mostly read_mostly tcp_init_buffer_space,tcp_init_transfer,tcp_finish_connect,tcp_connect,tcp_send_rcvq,tcp_send_syn_data -struct_request_sock_queue icsk_accept_queue - - +struct_request_sock_queue icsk_accept_queue - - struct_inet_bind_bucket icsk_bind_hash read_mostly - tcp_set_state struct_inet_bind2_bucket icsk_bind2_hash read_mostly - tcp_set_state,inet_put_port unsigned_long icsk_timeout read_mostly - inet_csk_reset_xmit_timer,tcp_connect struct_timer_list icsk_retransmit_timer read_mostly - inet_csk_reset_xmit_timer,tcp_connect struct_timer_list icsk_delack_timer read_mostly - inet_csk_reset_xmit_timer,tcp_connect u32 icsk_rto read_write - tcp_cwnd_validate,tcp_schedule_loss_probe,tcp_connect_init,tcp_connect,tcp_write_xmit,tcp_push_one -u32 icsk_rto_min - - -u32 icsk_delack_max - - +u32 icsk_rto_min - - +u32 icsk_delack_max - - u32 icsk_pmtu_cookie read_write - tcp_sync_mss,tcp_current_mss,tcp_send_syn_data,tcp_connect_init,tcp_connect struct_tcp_congestion_ops icsk_ca_ops read_write - tcp_cwnd_validate,tcp_tso_segs,tcp_ca_dst_init,tcp_connect_init,tcp_connect,tcp_write_xmit struct_inet_connection_sock_af_ops icsk_af_ops read_mostly - tcp_finish_connect,tcp_send_syn_data,tcp_mtup_init,tcp_mtu_check_reprobe,tcp_mtu_probe,tcp_connect_init,tcp_connect,__tcp_transmit_skb -struct_tcp_ulp_ops* icsk_ulp_ops - - -void* icsk_ulp_data - - +struct_tcp_ulp_ops* icsk_ulp_ops - - +void* icsk_ulp_data - - u8:5 icsk_ca_state read_write - tcp_cwnd_application_limited,tcp_set_ca_state,tcp_enter_cwr,tcp_tso_should_defer,tcp_mtu_probe,tcp_schedule_loss_probe,tcp_write_xmit,__tcp_transmit_skb u8:1 icsk_ca_initialized read_write - tcp_init_transfer,tcp_init_congestion_control,tcp_init_transfer,tcp_finish_connect,tcp_connect -u8:1 icsk_ca_setsockopt - - +u8:1 icsk_ca_setsockopt - - u8:1 icsk_ca_dst_locked write_mostly - tcp_ca_dst_init,tcp_connect_init,tcp_connect u8 icsk_retransmits write_mostly - tcp_connect_init,tcp_connect u8 icsk_pending read_write - inet_csk_reset_xmit_timer,tcp_connect,tcp_check_probe_timer,__tcp_push_pending_frames,tcp_rearm_rto,tcp_event_new_data_sent,tcp_event_new_data_sent u8 icsk_backoff write_mostly - tcp_write_queue_purge,tcp_connect_init -u8 icsk_syn_retries - - -u8 icsk_probes_out - - +u8 icsk_syn_retries - - +u8 icsk_probes_out - - u16 icsk_ext_hdr_len read_mostly - __tcp_mtu_to_mss,tcp_mtu_to_rss,tcp_mtu_probe,tcp_write_xmit,tcp_mtu_to_mss, struct_icsk_ack_u8 pending read_write read_write inet_csk_ack_scheduled,__tcp_cleanup_rbuf,tcp_cleanup_rbuf,inet_csk_clear_xmit_timer,tcp_event_ack-sent,inet_csk_reset_xmit_timer struct_icsk_ack_u8 quick read_write write_mostly tcp_dec_quickack_mode,tcp_event_ack_sent,__tcp_transmit_skb,__tcp_select_window,__tcp_cleanup_rbuf -struct_icsk_ack_u8 pingpong - - +struct_icsk_ack_u8 pingpong - - struct_icsk_ack_u8 retry write_mostly read_write inet_csk_clear_xmit_timer,tcp_rearm_rto,tcp_event_new_data_sent,tcp_write_xmit,__tcp_send_ack,tcp_send_ack, struct_icsk_ack_u8 ato read_mostly write_mostly tcp_dec_quickack_mode,tcp_event_ack_sent,__tcp_transmit_skb,__tcp_send_ack,tcp_send_ack struct_icsk_ack_unsigned_long timeout read_write read_write inet_csk_reset_xmit_timer,tcp_connect
@@ -45,6 +47,7 @@ struct_icsk_mtup_int search_low read_write - struct_icsk_mtup_u32:31 probe_size read_write - tcp_mtup_init,tcp_connect_init,__tcp_transmit_skb struct_icsk_mtup_u32:1 enabled read_write - tcp_mtup_init,tcp_sync_mss,tcp_connect_init,tcp_mtu_probe,tcp_write_xmit struct_icsk_mtup_u32 probe_timestamp read_write - tcp_mtup_init,tcp_connect_init,tcp_mtu_check_reprobe,tcp_mtu_probe -u32 icsk_probes_tstamp - - -u32 icsk_user_timeout - - -u64[104/sizeof(u64)] icsk_ca_priv - - +u32 icsk_probes_tstamp - - +u32 icsk_user_timeout - - +u64[104/sizeof(u64)] icsk_ca_priv - - +=================================== ====================== =================== =================== =============================================================================================================================================================
Documentation/networking/net_cachelines/inet_sock.rst +29 -26
69 lines not on this page · raw message
Documentation/networking/net_cachelines/net_device.rst +179 -176
360 lines not on this page · raw message
Documentation/networking/net_cachelines/netns_ipv4_sysctl.rst +108 -105
257 lines not on this page · raw message
Documentation/networking/net_cachelines/snmp.rst +117 -114
241 lines not on this page · raw message
Documentation/networking/net_cachelines/tcp_sock.rst +74 -71
206 lines not on this page · raw message
---
base-commit: f02fdfeb319fbdf181088beabe3592489453b042
change-id: 20241025-fix_netdev_doc-d2b05f34b42a
Best regards,
Signature · 1 line
Gerd Bayer <[email protected]>
Simon Horman
reviewer+ Donald
Quoted 11 lines · Gerd Bayer
I stumbled over [0] being completely garbled.
Fix formatting by adding the required rst annotation for a Simple Table and remove unnecessary trailing whitespace. While at it, do the same for all the documents in the
net_cachelinesdirectory.I have not checked the contents for correctness or completeness.
Links: [0] https://www.kernel.org/doc/html/latest/networking/net_cachelines/net_device.html
Fixes 14006f1d8fa2 ("Documentations: Analyze heavily used Networking related structs")Signed-off-by Gerd Bayer <[email protected]>
Thanks Gerd,
I believe that there is already a patch in net-next that addresses this.
- 54b771e6c675 ("doc: net: Fix .rst rendering of net_cachelines pages")
https://git.kernel.org/netdev/net-next/c/54b771e6c675
Signature · 1 line
pw-bot: not-applicable