Re: [PATCH v1 net-next 04/15] net/tls: expose get_netdev_for_sock

2020-12-11 Thread Boris Pismenny
On 10/12/2020 5:39, David Ahern wrote: > On 12/9/20 12:41 AM, Boris Pismenny wrote: > >> is applied there is relevant here. More generally, this offload is >> very similar in concept to TLS offload (tls_device). >> > > I disagree with the TLS comparison. As an example, AIUI the TLS offload > wo

Re: [PATCH v1 net-next 04/15] net/tls: expose get_netdev_for_sock

2020-12-09 Thread David Ahern
On 12/9/20 12:41 AM, Boris Pismenny wrote: > > You are correct, and bond support is currently under review for TLS, > i.e., search for "TLS TX HW offload for Bond". The same approach that ok, missed that. > is applied there is relevant here. More generally, this offload is > very similar in conc

Re: [PATCH v1 net-next 04/15] net/tls: expose get_netdev_for_sock

2020-12-08 Thread Boris Pismenny
On 09/12/2020 3:06, David Ahern wrote: > On 12/7/20 2:06 PM, Boris Pismenny wrote: >> 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 CRC offloads. >> >> Signed-off-by: Boris Pism

Re: [PATCH v1 net-next 04/15] net/tls: expose get_netdev_for_sock

2020-12-08 Thread David Ahern
On 12/7/20 2:06 PM, Boris Pismenny wrote: > 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 CRC offloads. > > Signed-off-by: Boris Pismenny > Reviewed-by: Sagi Grimberg > --- >

[PATCH v1 net-next 04/15] net/tls: expose get_netdev_for_sock

2020-12-07 Thread Boris Pismenny
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 CRC offloads. Signed-off-by: Boris Pismenny Reviewed-by: Sagi Grimberg --- include/net/sock.h | 17 + net/tls/tls_dev