Re: [PATCH V3 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-26 Thread Shannon Nelson
On 3/26/2018 12:10 AM, Boris Pismenny wrote: Hi Shannon, On 3/23/2018 11:21 PM, Shannon Nelson wrote: On 3/22/2018 3:33 PM, Saeed Mahameed wrote: From: Ilya Lesokhin Thanks, Boris, these sound fine. sln

Re: [PATCH V3 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-26 Thread Boris Pismenny
Hi Shannon, On 3/23/2018 11:21 PM, Shannon Nelson wrote: On 3/22/2018 3:33 PM, Saeed Mahameed wrote: From: Ilya Lesokhin This patch adds a generic infrastructure to offload TLS crypto to a network devices. It enables the kernel TLS socket to skip encryption s/devices/device/ and authentic

Re: [PATCH V3 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-23 Thread Shannon Nelson
On 3/22/2018 3:33 PM, Saeed Mahameed wrote: From: Ilya Lesokhin This patch adds a generic infrastructure to offload TLS crypto to a network devices. It enables the kernel TLS socket to skip encryption s/devices/device/ and authentication operations on the transmit side of the data path. Lea

Re: [PATCH V3 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-23 Thread David Miller
From: Saeed Mahameed Date: Thu, 22 Mar 2018 15:33:43 -0700 > diff --git a/net/tls/tls_device.c b/net/tls/tls_device.c > new file mode 100644 > index ..34555ac0b959 > --- /dev/null > +++ b/net/tls/tls_device.c ... > +static inline void tls_append_frag(struct tls_record_info *record, >

[PATCH V3 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-22 Thread Saeed Mahameed
From: Ilya Lesokhin This patch adds a generic infrastructure to offload TLS crypto to a network devices. It enables the kernel TLS socket to skip encryption and authentication operations on the transmit side of the data path. Leaving those computationally expensive operations to the NIC. The NIC