On 6/23/23 3:17 AM, Stefan Metzmacher wrote: > > I'd like to keep it passed to socket layer, so that sockets could > implement some extra features in an async fashion. > > What about having the function you posted below (and in v3) > as a default implementation if proto_ops->uring_cmd is NULL? > Nothing about this set needs uring_cmd added to proto ops. It adds uring commands which are wrappers to networking APIs. Let's keep proper APIs between subsystems.