[PATCH v4 1/4] nvmet-tcp: unify sockopt with do_sock_setsockopt
Jakub Kicinski
kuba at kernel.org
Thu Aug 20 10:31:09 PDT 2026
On Wed, 19 Aug 2026 11:04:39 +0200 Christoph Hellwig wrote:
> > A key benefit of this refactoring is that it decouples the socket option
> > configuration from the underlying transport protocol. This makes it
> > easier to extend nvmet-tcp to support other protocols, such as MPTCP, in
> > the future, as do_sock_setsockopt() abstracts away protocol-specific
> > differences without requiring per-option protocol-specific wrappers.
>
> We really should have generic helpers in the networking code for this
> and not duplicate them in driver using socket options.
What do you mean by "for this" ?
More information about the Linux-nvme
mailing list