* [PATCH net-next] net: rmnet: Use section heading for packet format subsections
@ 2025-10-16 9:25 Bagas Sanjaya
2025-10-16 15:47 ` Simon Horman
2025-10-21 0:16 ` Jakub Kicinski
0 siblings, 2 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-10-16 9:25 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Documentation, Linux Networking
Cc: Subash Abhinov Kasiviswanathan, Sean Tranchetti, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
Jonathan Corbet, Bagas Sanjaya
Format subsections of "Packet format" section as reST subsections.
Link: https://lore.kernel.org/linux-doc/aO_MefPIlQQrCU3j@horms.kernel.org/
Suggested-by: Simon Horman <horms@kernel.org>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
.../cellular/qualcomm/rmnet.rst | 20 +++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst b/Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst
index 289c146a829153..1115606496b67d 100644
--- a/Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst
+++ b/Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst
@@ -27,7 +27,8 @@ these MAP frames and send them to appropriate PDN's.
2. Packet format
================
-a. MAP packet v1 (data / control)
+A. MAP packet v1 (data / control)
+---------------------------------
MAP header fields are in big endian format.
@@ -53,7 +54,8 @@ Multiplexer ID is to indicate the PDN on which data has to be sent.
Payload length includes the padding length but does not include MAP header
length.
-b. Map packet v4 (data / control)
+B. MAP packet v4 (data / control)
+---------------------------------
MAP header fields are in big endian format.
@@ -106,7 +108,8 @@ over which checksum is computed.
Checksum value, indicates the checksum computed.
-c. MAP packet v5 (data / control)
+C. MAP packet v5 (data / control)
+---------------------------------
MAP header fields are in big endian format.
@@ -133,7 +136,8 @@ Multiplexer ID is to indicate the PDN on which data has to be sent.
Payload length includes the padding length but does not include MAP header
length.
-d. Checksum offload header v5
+D. Checksum offload header v5
+-----------------------------
Checksum offload header fields are in big endian format.
@@ -154,7 +158,10 @@ indicates that the calculated packet checksum is invalid.
Reserved bits must be zero when sent and ignored when received.
-e. MAP packet v1/v5 (command specific)::
+E. MAP packet v1/v5 (command specific)
+--------------------------------------
+
+Packet format::
Bit 0 1 2-7 8 - 15 16 - 31
Function Command Reserved Pad Multiplexer ID Payload length
@@ -176,7 +183,8 @@ Command types
3 is for error during processing of commands
= ==========================================
-f. Aggregation
+F. Aggregation
+--------------
Aggregation is multiple MAP packets (can be data or command) delivered to
rmnet in a single linear skb. rmnet will process the individual
base-commit: cb85ca4c0a349e246cd35161088aa3689ae5c580
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net: rmnet: Use section heading for packet format subsections
2025-10-16 9:25 [PATCH net-next] net: rmnet: Use section heading for packet format subsections Bagas Sanjaya
@ 2025-10-16 15:47 ` Simon Horman
2025-10-21 0:16 ` Jakub Kicinski
1 sibling, 0 replies; 5+ messages in thread
From: Simon Horman @ 2025-10-16 15:47 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux Documentation, Linux Networking,
Subash Abhinov Kasiviswanathan, Sean Tranchetti, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jonathan Corbet
On Thu, Oct 16, 2025 at 04:25:52PM +0700, Bagas Sanjaya wrote:
> Format subsections of "Packet format" section as reST subsections.
>
> Link: https://lore.kernel.org/linux-doc/aO_MefPIlQQrCU3j@horms.kernel.org/
> Suggested-by: Simon Horman <horms@kernel.org>
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net: rmnet: Use section heading for packet format subsections
2025-10-16 9:25 [PATCH net-next] net: rmnet: Use section heading for packet format subsections Bagas Sanjaya
2025-10-16 15:47 ` Simon Horman
@ 2025-10-21 0:16 ` Jakub Kicinski
2025-10-21 0:21 ` Bagas Sanjaya
2025-10-21 10:10 ` Simon Horman
1 sibling, 2 replies; 5+ messages in thread
From: Jakub Kicinski @ 2025-10-21 0:16 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux Documentation, Linux Networking,
Subash Abhinov Kasiviswanathan, Sean Tranchetti, David S. Miller,
Eric Dumazet, Paolo Abeni, Simon Horman, Jonathan Corbet
On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
> -a. MAP packet v1 (data / control)
> +A. MAP packet v1 (data / control)
> +---------------------------------
Why capitalize the "A" here? it could have stayed the way it was, IMO
lowercase is actually more common and (at least my) Sphinx doesn't seem
to detect this leading letter as in any way special.
--
pw-bot: cr
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net: rmnet: Use section heading for packet format subsections
2025-10-21 0:16 ` Jakub Kicinski
@ 2025-10-21 0:21 ` Bagas Sanjaya
2025-10-21 10:10 ` Simon Horman
1 sibling, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-10-21 0:21 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Linux Kernel Mailing List, Linux Documentation, Linux Networking,
Subash Abhinov Kasiviswanathan, Sean Tranchetti, David S. Miller,
Eric Dumazet, Paolo Abeni, Simon Horman, Jonathan Corbet
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
On Mon, Oct 20, 2025 at 05:16:29PM -0700, Jakub Kicinski wrote:
> On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
> > -a. MAP packet v1 (data / control)
> > +A. MAP packet v1 (data / control)
> > +---------------------------------
>
> Why capitalize the "A" here? it could have stayed the way it was, IMO
> lowercase is actually more common and (at least my) Sphinx doesn't seem
> to detect this leading letter as in any way special.
I follow Simon's suggestion in packet formatting patch [1].
Thanks.
[1]: https://lore.kernel.org/linux-doc/aO_MefPIlQQrCU3j@horms.kernel.org/
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net: rmnet: Use section heading for packet format subsections
2025-10-21 0:16 ` Jakub Kicinski
2025-10-21 0:21 ` Bagas Sanjaya
@ 2025-10-21 10:10 ` Simon Horman
1 sibling, 0 replies; 5+ messages in thread
From: Simon Horman @ 2025-10-21 10:10 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation,
Linux Networking, Subash Abhinov Kasiviswanathan, Sean Tranchetti,
David S. Miller, Eric Dumazet, Paolo Abeni, Jonathan Corbet
On Mon, Oct 20, 2025 at 05:16:29PM -0700, Jakub Kicinski wrote:
> On Thu, 16 Oct 2025 16:25:52 +0700 Bagas Sanjaya wrote:
> > -a. MAP packet v1 (data / control)
> > +A. MAP packet v1 (data / control)
> > +---------------------------------
>
> Why capitalize the "A" here? it could have stayed the way it was, IMO
> lowercase is actually more common and (at least my) Sphinx doesn't seem
> to detect this leading letter as in any way special.
It was a style choice on my part.
Which seemed to make sense to me at the time.
No other reason.
And no objections from my side to sticking to lower case.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-10-21 10:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 9:25 [PATCH net-next] net: rmnet: Use section heading for packet format subsections Bagas Sanjaya
2025-10-16 15:47 ` Simon Horman
2025-10-21 0:16 ` Jakub Kicinski
2025-10-21 0:21 ` Bagas Sanjaya
2025-10-21 10:10 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).