Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-20 Thread Jakub Kicinski
On Sun, 19 May 2019 06:24:36 +, Boris Pismenny wrote: > On 5/16/2019 8:56 PM, Jakub Kicinski wrote: > > On Thu, 16 May 2019 09:08:52 +, Boris Pismenny wrote: > >>> diff --git a/Documentation/networking/tls-offload.rst > >>> b/Documentation/networking/tls-offload.rst > >>> new file mode 1

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-19 Thread Boris Pismenny
On 5/16/2019 8:56 PM, Jakub Kicinski wrote: > On Thu, 16 May 2019 09:08:52 +, Boris Pismenny wrote: >>> diff --git a/Documentation/networking/tls-offload.rst >>> b/Documentation/networking/tls-offload.rst >>> new file mode 100644 >>> index ..32fecb3fbc4c >>> --- /dev/null >>> +++

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Jakub Kicinski
On Thu, 16 May 2019 15:52:58 -0700, Alexei Starovoitov wrote: > On Thu, May 16, 2019 at 02:39:03PM -0700, Jakub Kicinski wrote: > > On Thu, 16 May 2019 12:32:59 -0700, Alexei Starovoitov wrote: > > > On Thu, May 16, 2019 at 11:42:03AM -0700, Jakub Kicinski wrote: > > > > On Thu, 16 May 2019 11:

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Alexei Starovoitov
On Thu, May 16, 2019 at 02:39:03PM -0700, Jakub Kicinski wrote: > On Thu, 16 May 2019 12:32:59 -0700, Alexei Starovoitov wrote: > > On Thu, May 16, 2019 at 11:42:03AM -0700, Jakub Kicinski wrote: > > > On Thu, 16 May 2019 11:13:47 -0700, Alexei Starovoitov wrote: > > > > On Thu, May 16, 2019 at 10:

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Jakub Kicinski
On Thu, 16 May 2019 12:32:59 -0700, Alexei Starovoitov wrote: > On Thu, May 16, 2019 at 11:42:03AM -0700, Jakub Kicinski wrote: > > On Thu, 16 May 2019 11:13:47 -0700, Alexei Starovoitov wrote: > > > On Thu, May 16, 2019 at 10:57 AM Jakub Kicinski wrote: > > > > > > > > The preferred method of re

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Alexei Starovoitov
On Thu, May 16, 2019 at 11:42:03AM -0700, Jakub Kicinski wrote: > On Thu, 16 May 2019 11:13:47 -0700, Alexei Starovoitov wrote: > > On Thu, May 16, 2019 at 10:57 AM Jakub Kicinski wrote: > > > > > > The preferred method of reporting the Layer 4 (TCP) checksum offload > > > for packets decrypted

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Jakub Kicinski
On Thu, 16 May 2019 11:13:47 -0700, Alexei Starovoitov wrote: > On Thu, May 16, 2019 at 10:57 AM Jakub Kicinski wrote: > > > > The preferred method of reporting the Layer 4 (TCP) checksum offload > > for packets decrypted by the device is to update the checksum field > > to the correct value

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Alexei Starovoitov
On Thu, May 16, 2019 at 10:57 AM Jakub Kicinski wrote: > > The preferred method of reporting the Layer 4 (TCP) checksum offload > for packets decrypted by the device is to update the checksum field > to the correct value for clear text and report CHECKSUM_UNNECESSARY > or CHECKSUM_COMPLETE

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Jakub Kicinski
On Thu, 16 May 2019 09:08:52 +, Boris Pismenny wrote: > > diff --git a/Documentation/networking/tls-offload.rst > > b/Documentation/networking/tls-offload.rst > > new file mode 100644 > > index ..32fecb3fbc4c > > --- /dev/null > > +++ b/Documentation/networking/tls-offload.rst > >

Re: [PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-16 Thread Boris Pismenny
Hi Jakub, Thanks for submitting this. On 5/15/2019 11:41 PM, Jakub Kicinski wrote: > Describe existing kernel TLS offload (added back in Linux 4.19) - > the mechanism, the expected behavior and the notable corner cases. > > This documentation is mostly targeting hardware vendors who want > to im

[PATCH net 3/3] Documentation: add TLS offload documentation

2019-05-15 Thread Jakub Kicinski
Describe existing kernel TLS offload (added back in Linux 4.19) - the mechanism, the expected behavior and the notable corner cases. This documentation is mostly targeting hardware vendors who want to implement offload, to ensure consistency between implementations. Signed-off-by: Jakub Kicinski