* [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior
@ 2026-05-23 11:03 Hungyu Lin
2026-05-27 9:47 ` Simon Horman
2026-05-28 0:04 ` Jakub Kicinski
0 siblings, 2 replies; 3+ messages in thread
From: Hungyu Lin @ 2026-05-23 11:03 UTC (permalink / raw)
To: subash.a.kasiviswanathan, sean.tranchetti
Cc: andrew+netdev, davem, edumazet, kuba, pabeni, netdev,
linux-kernel, Hungyu Lin
rmnet_map_command() only sends ACK responses for supported
commands. Unsupported commands are dropped without sending
a response.
Update the comment to reflect the current behavior.
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
---
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
index add0f5ade2e6..c1c3d4fc7a99 100644
--- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
+++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
@@ -69,8 +69,8 @@ static void rmnet_map_send_ack(struct sk_buff *skb,
netif_tx_unlock(dev);
}
-/* Process MAP command frame and send N/ACK message as appropriate. Message cmd
- * name is decoded here and appropriate handler is called.
+/* Process MAP command frame and send ACK message for supported commands.
+ * Message cmd name is decoded here and the appropriate handler is called.
*/
void rmnet_map_command(struct sk_buff *skb, struct rmnet_port *port)
{
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior
2026-05-23 11:03 [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior Hungyu Lin
@ 2026-05-27 9:47 ` Simon Horman
2026-05-28 0:04 ` Jakub Kicinski
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2026-05-27 9:47 UTC (permalink / raw)
To: Hungyu Lin
Cc: subash.a.kasiviswanathan, sean.tranchetti, andrew+netdev, davem,
edumazet, kuba, pabeni, netdev, linux-kernel
On Sat, May 23, 2026 at 11:03:46AM +0000, Hungyu Lin wrote:
> rmnet_map_command() only sends ACK responses for supported
> commands. Unsupported commands are dropped without sending
> a response.
>
> Update the comment to reflect the current behavior.
>
> Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
> ---
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
> index add0f5ade2e6..c1c3d4fc7a99 100644
> --- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
> +++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c
> @@ -69,8 +69,8 @@ static void rmnet_map_send_ack(struct sk_buff *skb,
> netif_tx_unlock(dev);
> }
>
> -/* Process MAP command frame and send N/ACK message as appropriate. Message cmd
> - * name is decoded here and appropriate handler is called.
> +/* Process MAP command frame and send ACK message for supported commands.
> + * Message cmd name is decoded here and the appropriate handler is called.
> */
> void rmnet_map_command(struct sk_buff *skb, struct rmnet_port *port)
> {
There is an AI generated review of this patch available at
https://netdev-ai.bots.linux.dev/sashiko/
In brief, it suggests that the wording above may still be too broad
as the ACk is only sent when supported commands are successfully processed.
But I regard this as a nit-pick and I think the current wording is fine.
There is another AI generated review of this patch available
at https://sashiko.dev
In this case the review flags possible pre-existing issues in the code.
And I don't believe they effect this documentation change.
In summary, I think this patch is good in it's current form.
And that it's progress should not be effected by the AI-generated
reviews cited above.
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior
2026-05-23 11:03 [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior Hungyu Lin
2026-05-27 9:47 ` Simon Horman
@ 2026-05-28 0:04 ` Jakub Kicinski
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2026-05-28 0:04 UTC (permalink / raw)
To: Hungyu Lin
Cc: subash.a.kasiviswanathan, sean.tranchetti, andrew+netdev, davem,
edumazet, pabeni, netdev, linux-kernel
On Sat, 23 May 2026 11:03:46 +0000 Hungyu Lin wrote:
> rmnet_map_command() only sends ACK responses for supported
> commands. Unsupported commands are dropped without sending
> a response.
To me the words "as appropriate" express the fact that the ack
is not always sent sufficiently. This seems like pointless churn.
--
pw-bot: reject
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-28 0:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-23 11:03 [PATCH] net: qualcomm: rmnet: clarify MAP command ACK behavior Hungyu Lin
2026-05-27 9:47 ` Simon Horman
2026-05-28 0:04 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox