* [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions
@ 2023-12-01 18:01 Jiri Pirko
2023-12-02 2:28 ` Jakub Kicinski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jiri Pirko @ 2023-12-01 18:01 UTC (permalink / raw)
To: netdev; +Cc: kuba, pabeni, davem, edumazet, corbet
From: Jiri Pirko <jiri@nvidia.com>
In case NLMSG_DONE message is sent as a reply to doit action, multiple
kernel implementation do not send anything else than struct nlmsghdr.
Add this note to the Netlink intro documentation.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
---
v2->v3:
- s/avoided/absent/
v1->v2:
- Changed the note completely
---
Documentation/userspace-api/netlink/intro.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/userspace-api/netlink/intro.rst b/Documentation/userspace-api/netlink/intro.rst
index 7b1d401210ef..aacffade8f84 100644
--- a/Documentation/userspace-api/netlink/intro.rst
+++ b/Documentation/userspace-api/netlink/intro.rst
@@ -234,6 +234,10 @@ ACK attributes may be present::
| ** optionally extended ACK |
----------------------------------------------
+Note that some implementations may issue custom ``NLMSG_DONE`` messages
+in reply to ``do`` action requests. In that case the payload is
+implementation-specific and may also be absent.
+
.. _res_fam:
Resolving the Family ID
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions
2023-12-01 18:01 [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions Jiri Pirko
@ 2023-12-02 2:28 ` Jakub Kicinski
2023-12-02 4:49 ` Bagas Sanjaya
2023-12-04 22:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2023-12-02 2:28 UTC (permalink / raw)
To: Jiri Pirko; +Cc: netdev, pabeni, davem, edumazet, corbet
On Fri, 1 Dec 2023 19:01:54 +0100 Jiri Pirko wrote:
> In case NLMSG_DONE message is sent as a reply to doit action, multiple
> kernel implementation do not send anything else than struct nlmsghdr.
> Add this note to the Netlink intro documentation.
>
> Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions
2023-12-01 18:01 [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions Jiri Pirko
2023-12-02 2:28 ` Jakub Kicinski
@ 2023-12-02 4:49 ` Bagas Sanjaya
2023-12-04 22:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Bagas Sanjaya @ 2023-12-02 4:49 UTC (permalink / raw)
To: Jiri Pirko, Linux Networking
Cc: kuba, pabeni, davem, edumazet, corbet, Linux Kernel Mailing List,
Linux Documentation
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Fri, Dec 01, 2023 at 07:01:54PM +0100, Jiri Pirko wrote:
> diff --git a/Documentation/userspace-api/netlink/intro.rst b/Documentation/userspace-api/netlink/intro.rst
> index 7b1d401210ef..aacffade8f84 100644
> --- a/Documentation/userspace-api/netlink/intro.rst
> +++ b/Documentation/userspace-api/netlink/intro.rst
> @@ -234,6 +234,10 @@ ACK attributes may be present::
> | ** optionally extended ACK |
> ----------------------------------------------
>
> +Note that some implementations may issue custom ``NLMSG_DONE`` messages
> +in reply to ``do`` action requests. In that case the payload is
> +implementation-specific and may also be absent.
> +
> .. _res_fam:
>
> Resolving the Family ID
LGTM, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
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] 4+ messages in thread
* Re: [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions
2023-12-01 18:01 [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions Jiri Pirko
2023-12-02 2:28 ` Jakub Kicinski
2023-12-02 4:49 ` Bagas Sanjaya
@ 2023-12-04 22:50 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-12-04 22:50 UTC (permalink / raw)
To: Jiri Pirko; +Cc: netdev, kuba, pabeni, davem, edumazet, corbet
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 1 Dec 2023 19:01:54 +0100 you wrote:
> From: Jiri Pirko <jiri@nvidia.com>
>
> In case NLMSG_DONE message is sent as a reply to doit action, multiple
> kernel implementation do not send anything else than struct nlmsghdr.
> Add this note to the Netlink intro documentation.
>
> Signed-off-by: Jiri Pirko <jiri@nvidia.com>
>
> [...]
Here is the summary with links:
- [net-next,v3] docs: netlink: add NLMSG_DONE message format for doit actions
https://git.kernel.org/netdev/net-next/c/8ad55b1e73c4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-04 22:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 18:01 [patch net-next v3] docs: netlink: add NLMSG_DONE message format for doit actions Jiri Pirko
2023-12-02 2:28 ` Jakub Kicinski
2023-12-02 4:49 ` Bagas Sanjaya
2023-12-04 22:50 ` patchwork-bot+netdevbpf
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).