Re: [PATCH v4 1/4] nvmet-tcp: unify sockopt with do_sock_setsockopt
Jakub Kicinski <[email protected]>
| Newsgroups | dev.linux.lists.mptcp,org.infradead.lists.linux-nvme,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
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" ?