diff options
| author | Mina Almasry <almasrymina@google.com> | 2026-10-10 03:36:09 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-15 17:14:29 -0700 |
| commit | b35ec0d877f5ec9e127ca12afbb34883787b7d40 (patch) | |
| tree | 2229d71bc2bf41ed8eb000998eee6e8bf20d1d61 /scripts | |
| parent | 72ebc685bca99f466ef35600b5263d1c21c790d9 (diff) | |
docs: netmem: document netmem and memory provider design principles
Add a Design Principles section to Documentation/networking/netmem.rst
covering the netmem_ref abstraction, the prohibition on direct
downcasting in callers, decoupling memory providers from net_iov,
decoupling net_iov from unreadability, delegating provider/type logic to
memory_provider_ops and netmem helpers, and the rule against mixing skb
fragment memory sources.
Cc: Luigi Rizzo <lrizzo@google.com>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Björn Töpel <bjorn@kernel.org>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20261010033630.1171692-3-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
