[PATCH v5 net-next 04/36] net/tls: expose get_netdev_for_sock
Or Gerlitz
gerlitz.or at gmail.com
Wed Aug 4 06:26:31 PDT 2021
On Fri, Jul 23, 2021 at 9:09 AM Christoph Hellwig <hch at lst.de> wrote:
>
> On Thu, Jul 22, 2021 at 02:02:53PM +0300, Boris Pismenny wrote:
> > From: Boris Pismenny <borisp at mellanox.com>
> >
> > get_netdev_for_sock is a utility that is used to obtain
> > the net_device structure from a connected socket.
> >
> > Later patches will use this for nvme-tcp DDP and DDP DDGST offloads.
> >
> > Signed-off-by: Boris Pismenny <borisp at mellanox.com>
> > Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
>
> I don't think this should be an inline. Please move it to net/core/dev.c,
> andd add an EXPORT_SYMBOL_GPL and a kerneldoc comment.
Jakub,
What's your preference here?
Or.
More information about the Linux-nvme
mailing list