<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/mlx5/device.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-05-20T11:20:45Z</updated>
<entry>
<title>mlx5_core: add more port module event types to decode.</title>
<updated>2020-05-20T11:20:45Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-05-20T11:20:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d0a4068359b4934af67add550fecd52f5691f35c'/>
<id>urn:sha1:d0a4068359b4934af67add550fecd52f5691f35c</id>
<content type='text'>
Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies
MFC after:	3 days
</content>
</entry>
<entry>
<title>mlx5_core: add "PMD type not enabled" port module event type.</title>
<updated>2020-05-20T11:10:10Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-05-20T11:10:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6418350cf4c9dad3d13de5ac1123d739bdc87091'/>
<id>urn:sha1:6418350cf4c9dad3d13de5ac1123d739bdc87091</id>
<content type='text'>
Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies
MFC after:	3 days
</content>
</entry>
<entry>
<title>mlx5: Add 'follow' vport state, relevant for VFs.</title>
<updated>2020-03-18T22:38:57Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-03-18T22:38:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8982c8003b9bd98d448951c67f114085e55bddc3'/>
<id>urn:sha1:8982c8003b9bd98d448951c67f114085e55bddc3</id>
<content type='text'>
Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Implement hardware TLS via send tags for mlx5en(4), which is supported by</title>
<updated>2019-12-06T15:36:32Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-12-06T15:36:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7272f9cd774c4643a33d92db6cc3e1641ceab5c9'/>
<id>urn:sha1:7272f9cd774c4643a33d92db6cc3e1641ceab5c9</id>
<content type='text'>
ConnectX-6 DX.

Currently TLS v1.2 and v1.3 with AES 128/256 crypto over TCP/IP (v4
and v6) is supported.

A per PCI device UMA zone is used to manage the memory of the send
tags.  To optimize performance some crypto contexts may be cached by
the UMA zone, until the UMA zone finishes the memory of the given send
tag.

An asynchronous task is used manage setup of the send tags towards the
firmware. Most importantly setting the AES 128/256 bit pre-shared keys
for the crypto context.

Updating the state of the AES crypto engine and encrypting data, is
all done in the fast path. Each send tag tracks the TCP sequence
number in order to detect non-contiguous blocks of data, which may
require a dump of prior unencrypted data, to restore the crypto state
prior to wire transmission.

Statistics counters have been added to count the amount of TLS data
transmitted in total, and the amount of TLS data which has been dumped
prior to transmission. When non-contiguous TCP sequence numbers are
detected, the software needs to dump the beginning of the current TLS
record up until the point of retransmission. All TLS counters utilize
the counter(9) API.

In order to enable hardware TLS offload the following sysctls must be set:
kern.ipc.mb_use_ext_pgs=1
kern.ipc.tls.ifnet.permitted=1
kern.ipc.tls.enable=1

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Add basic support for TCP/IP based hardware TLS offload to mlx5core.</title>
<updated>2019-12-05T15:16:19Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-12-05T15:16:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=04f1690bf0f7cf363abdf4257a64f23eb4b26f7d'/>
<id>urn:sha1:04f1690bf0f7cf363abdf4257a64f23eb4b26f7d</id>
<content type='text'>
The hardware offload is primarily targeted for TLS v1.2 and v1.3,
using AES 128/256 bit pre-shared keys. This patch adds all the needed
hardware structures, capabilites and firmware commands.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Wait for FW readiness before initializing command interface in mlx5core.</title>
<updated>2019-10-02T10:53:28Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-02T10:53:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=59efbf791dd0b498f68e4fe9d1751e1ce930b632'/>
<id>urn:sha1:59efbf791dd0b498f68e4fe9d1751e1ce930b632</id>
<content type='text'>
Before attempting to initialize the command interface we must wait till
the fw_initializing bit is clear.

If we fail to meet this condition the hardware will drop our
configuration, specifically the descriptors page address.  This scenario
can happen when the firmware is still executing an FLR flow and did not
finish yet so the driver needs to wait for that to finish.

Linux commits:
6c780a0267b8
b8a92577f4be.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Add sysctl(8) to get and set forward error correction, FEC, configuration</title>
<updated>2019-10-02T10:22:15Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-02T10:22:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=96425f44c9ba6dae76157fdf759841d5d1afed8b'/>
<id>urn:sha1:96425f44c9ba6dae76157fdf759841d5d1afed8b</id>
<content type='text'>
in mlx5en(4).

MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Add port module event software counters in mlx5core.</title>
<updated>2019-10-02T09:29:55Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-10-02T09:29:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=111b57c3592fe91e2a3c0a1d5ff301ff26d53dbc'/>
<id>urn:sha1:111b57c3592fe91e2a3c0a1d5ff301ff26d53dbc</id>
<content type='text'>
While at it, fixup PME based on latest PRM defines.

Submitted by:	slavash@
MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Add Firmware Reset Level, MFRL, register accessors in mlx5core.</title>
<updated>2019-05-08T11:04:40Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-05-08T11:04:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=939c79a2132f66dd5abdb62ddc534a77db5819dd'/>
<id>urn:sha1:939c79a2132f66dd5abdb62ddc534a77db5819dd</id>
<content type='text'>
Submitted by:	kib@
MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>Implement reading PCI power status in mlx5core.</title>
<updated>2019-05-08T10:58:06Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2019-05-08T10:58:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=adb6fd50c8ebe502fa53e4a6eb413b9f3e8acaf8'/>
<id>urn:sha1:adb6fd50c8ebe502fa53e4a6eb413b9f3e8acaf8</id>
<content type='text'>
Implement a watchdog as part of the healtcare subsystem which
reads the PCI power status during startup and upon the PCI
power status change event and store it into the core device
structure. This value is then exported to user-space via a
read-only SYSCTL. A dmesg print has been added to inform
the admin about the PCI power status.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
