Skip to content

Commit 1b0124a

Browse files
bagasmekuba-moo
authored andcommitted
net: rmnet: Fix checksum offload header v5 and aggregation packet formatting
Packet format for checksum offload header v5 and aggregation, and header type table for the former, are shown in normal paragraphs instead. Use appropriate markup. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20251015092540.32282-2-bagasdotme@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 5348d63 commit 1b0124a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

  • Documentation/networking/device_drivers/cellular/qualcomm

Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,20 @@ d. Checksum offload header v5
137137

138138
Checksum offload header fields are in big endian format.
139139

140+
Packet format::
141+
140142
Bit 0 - 6 7 8-15 16-31
141143
Function Header Type Next Header Checksum Valid Reserved
142144

143145
Header Type is to indicate the type of header, this usually is set to CHECKSUM
144146

145147
Header types
146-
= ==========================================
148+
149+
= ===============
147150
0 Reserved
148151
1 Reserved
149152
2 checksum header
153+
= ===============
150154

151155
Checksum Valid is to indicate whether the header checksum is valid. Value of 1
152156
implies that checksum is calculated on this packet and is valid, value of 0
@@ -183,9 +187,11 @@ rmnet in a single linear skb. rmnet will process the individual
183187
packets and either ACK the MAP command or deliver the IP packet to the
184188
network stack as needed
185189

186-
MAP header|IP Packet|Optional padding|MAP header|IP Packet|Optional padding....
190+
Packet format::
191+
192+
MAP header|IP Packet|Optional padding|MAP header|IP Packet|Optional padding....
187193

188-
MAP header|IP Packet|Optional padding|MAP header|Command Packet|Optional pad...
194+
MAP header|IP Packet|Optional padding|MAP header|Command Packet|Optional pad...
189195

190196
3. Userspace configuration
191197
==========================

0 commit comments

Comments
 (0)