<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/networking/tls.rst, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-07-12T02:48:33Z</updated>
<entry>
<title>tls: rx: add counter for NoPad violations</title>
<updated>2022-07-12T02:48:33Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2022-07-09T02:52:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb56cea9abd85c22175b31d8f7c44d6c615fe526'/>
<id>urn:sha1:bb56cea9abd85c22175b31d8f7c44d6c615fe526</id>
<content type='text'>
As discussed with Maxim add a counter for true NoPad violations.
This should help deployments catch unexpected padded records vs
just control records which always need re-encryption.

https: //lore.kernel.org/all/b111828e6ac34baad9f4e783127eba8344ac252d.camel@nvidia.com/
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3</title>
<updated>2022-07-06T11:56:35Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2022-07-05T23:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88527790c079fb1ea41cbcfa4450ee37906a2fb0'/>
<id>urn:sha1:88527790c079fb1ea41cbcfa4450ee37906a2fb0</id>
<content type='text'>
Since optimisitic decrypt may add extra load in case of retries
require socket owner to explicitly opt-in.

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>docs: tls: document the TLS_TX_ZEROCOPY_RO</title>
<updated>2022-06-14T09:14:17Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2022-06-10T18:02:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e5e8ec7dbd8504fdd04b5f6c9b6a207e54c4c6c'/>
<id>urn:sha1:7e5e8ec7dbd8504fdd04b5f6c9b6a207e54c4c6c</id>
<content type='text'>
Add missing documentation for the TLS_TX_ZEROCOPY_RO opt-in.

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Maxim Mikityanskiy &lt;maximmi@nvidia.com&gt;
Link: https://lore.kernel.org/r/20220610180212.110590-1-kuba@kernel.org
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
<entry>
<title>net/tls: add TlsDeviceRxResync statistic</title>
<updated>2019-10-05T23:29:00Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-10-04T23:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4d26fdbc2a5414bb1b67198656cc7e24a4a3c3a'/>
<id>urn:sha1:a4d26fdbc2a5414bb1b67198656cc7e24a4a3c3a</id>
<content type='text'>
Add a statistic for number of RX resyncs sent down to the NIC.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/tls: add TlsDecryptError stat</title>
<updated>2019-10-05T23:29:00Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-10-04T23:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c5ec66858062a857cf51f57cbe52b36330f7ae6'/>
<id>urn:sha1:5c5ec66858062a857cf51f57cbe52b36330f7ae6</id>
<content type='text'>
Add a statistic for TLS record decryption errors.

Since devices are supposed to pass records as-is when they
encounter errors this statistic will count bad records in
both pure software and inline crypto configurations.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/tls: add statistics for installed sessions</title>
<updated>2019-10-05T23:29:00Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-10-04T23:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b32fd3cc31d723bf2ab859667be3612c0086ec72'/>
<id>urn:sha1:b32fd3cc31d723bf2ab859667be3612c0086ec72</id>
<content type='text'>
Add SNMP stats for number of sockets with successfully
installed sessions.  Break them down to software and
hardware ones.  Note that if hardware offload fails
stack uses software implementation, and counts the
session appropriately.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/tls: add skeleton of MIB statistics</title>
<updated>2019-10-05T23:29:00Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-10-04T23:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d26b698dd3cd52f5a3277446a87e5e0198c99cd0'/>
<id>urn:sha1:d26b698dd3cd52f5a3277446a87e5e0198c99cd0</id>
<content type='text'>
Add a skeleton structure for adding TLS statistics.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Documentation: add TLS offload documentation</title>
<updated>2019-05-22T19:18:20Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-05-22T01:57:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f42c104f2ec94a9255a835cd4cd1bd76279d4d06'/>
<id>urn:sha1:f42c104f2ec94a9255a835cd4cd1bd76279d4d06</id>
<content type='text'>
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.

v2:
 - add emphasis around TLS_SW/TLS_HW/TLS_HW_RECORD;
 - remove mentions of ongoing work (Boris);
 - split the flow of data in SW vs. HW cases in TX overview
   (Boris);
 - call out which fields are updated by the device and which
   are filled by the stack (Boris);
 - move error handling into it's own section (Boris);
 - add more words about fallback (Boris);
 - note that checksum validation is required (Alexei);
 - note that drivers shouldn't pay attention to the TLS
   device features.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Acked-by: Dave Watson &lt;davejwatson@fb.com&gt;
Acked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Acked-by: Boris Pismenny &lt;borisp@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Documentation: tls: RSTify the ktls documentation</title>
<updated>2019-05-22T19:18:20Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2019-05-22T01:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3c0f3c6c2013e6caa7ab9c3c6a9fb12f6832c43'/>
<id>urn:sha1:f3c0f3c6c2013e6caa7ab9c3c6a9fb12f6832c43</id>
<content type='text'>
Convert the TLS doc to RST.  Use C code blocks for the code
samples, and mark hyperlinks.

Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Acked-by: Dave Watson &lt;davejwatson@fb.com&gt;
Acked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
