Revision tags: release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4 |
|
#
93e70e3a |
| 05-Feb-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
mlx5en: explain why interface needs to be reopened on hw lro change
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networking MFC af
mlx5en: explain why interface needs to be reopened on hw lro change
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networking MFC after: 1 week
show more ...
|
Revision tags: release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3 |
|
#
02fe38b9 |
| 29-Jan-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
mlx5en: make the hw lro control dynamic
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networking MFC after: 1 week
|
#
816f27e8 |
| 28-Jan-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
mlx5en: control hw LRO with the driver conf sysctl, leaving IFCAP_LRO to sw
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networkin
mlx5en: control hw LRO with the driver conf sysctl, leaving IFCAP_LRO to sw
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networking MFC after: 1 week
show more ...
|
#
bbac54b8 |
| 28-Jan-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
mlx5en: make conf.hw_lro sysctl r/w
This alone does not make hw lro configurable by sysctl, it only removes unneeded complications for users to access it.
Reviewed by: Ariel Ehrenberg <aehrenberg@n
mlx5en: make conf.hw_lro sysctl r/w
This alone does not make hw lro configurable by sysctl, it only removes unneeded complications for users to access it.
Reviewed by: Ariel Ehrenberg <aehrenberg@nvidia.com>, Slava Shwartsman <slavash@nvidia.com> Sponsored by: NVidia networking MFC after: 1 week
show more ...
|
Revision tags: release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
1943c40c |
| 18-Apr-2023 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5en(4): Don't wait for receive queue to fill up with mbufs during open channels.
Failure to get mbufs may be transient. Don't permanently fail to open the channels due to lack of mbufs. This also
mlx5en(4): Don't wait for receive queue to fill up with mbufs during open channels.
Failure to get mbufs may be transient. Don't permanently fail to open the channels due to lack of mbufs. This also makes modifying channel parameters faster.
MFC after: 1 week Sponsored by: NVIDIA Networking
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
5dc00f00 |
| 19-Sep-2022 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Mechanically convert mlx5en(4) to IfAPI
Reviewed by: zlei Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D38595
|
Revision tags: release/13.1.0 |
|
#
ea00d7e8 |
| 01-Feb-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5: Add raw ethernet local loopback support.
Currently, unicast/multicast loopback raw ethernet (non-RDMA) packets are sent back to the vport. A unicast loopback packet is the packet with destina
mlx5: Add raw ethernet local loopback support.
Currently, unicast/multicast loopback raw ethernet (non-RDMA) packets are sent back to the vport. A unicast loopback packet is the packet with destination MAC address the same as the source MAC address. For multicast, the destination MAC address is in the vport's multicast filter list.
Moreover, the local loopback is not needed if there is one or none user space context.
After this patch, the raw ethernet unicast and multicast local loopback are disabled by default. When there is more than one user space context, the local loopback is enabled.
Note that when local loopback is disabled, raw ethernet packets are not looped back to the vport and are forwarded to the next routing level (eswitch, or multihost switch, or out to the wire depending on the configuration).
Linux commits: c85023e153e3824661d07307138fdeff41f6d86a 8978cc921fc7fad3f4d6f91f1da01352aeeeff25
MFC after: 1 week Sponsored by: NVIDIA Networking
show more ...
|
#
c1b76119 |
| 01-Feb-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5: Implement mlx5_nic_vport_update_local_lb()
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
a60f9534 |
| 01-Feb-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5en: Make the hw_lro parameter read only tunable.
This prevents the so-called TIR context from changing during runtime.
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
788e9e74 |
| 01-Feb-2022 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5: Remove support for FreeBSD 10 and older.
MFC after: 1 week Sponsored by: NVIDIA Networking
|
Revision tags: release/12.3.0 |
|
#
89918a23 |
| 14-Jun-2021 |
Konstantin Belousov <konstantinb@nvidia.com> |
mlx5en: idiomatic use of preprocessor, in particular paths
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
b984b956 |
| 14-Jun-2021 |
Konstantin Belousov <konstantinb@nvidia.com> |
mlx5en: normalize use of the opt_*.h files
MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
9097ac9a |
| 06-Oct-2021 |
Elyes HAOUAS <ehaouas@noos.fr> |
Fix typo on "Celsius"
"Celcius" --> "Celsius"
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Pull Request: https://github.com/freebsd/freebsd-src/pull/551/files
|
#
c8d16d1e |
| 16-Jun-2021 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
mlx5en: Allow binding channels to CPUs when RSS is not enabled.
MFC after: 1 week Submitted by: Netflix Reviewed by: kib Sponsored by: Mellanox Technologies // NVIDIA Networking
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
decb087c |
| 27-Apr-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add support for reading temperature in mlx5en(4).
MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
#
7272f9cd |
| 06-Dec-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Implement hardware TLS via send tags for mlx5en(4), which is supported by 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 U
Implement hardware TLS via send tags for mlx5en(4), which is supported by 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
show more ...
|
Revision tags: release/12.1.0 |
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
bb2d8157 |
| 02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix build failure for gcc after r352983, due to not using static variable declared by net/sff8472.h .
MFC after: 3 days Sponsored by: Mellanox Technologies
|
#
96425f44 |
| 02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add sysctl(8) to get and set forward error correction, FEC, configuration in mlx5en(4).
MFC after: 3 days Sponsored by: Mellanox Technologies
|
#
048ddb58 |
| 02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl in mlx5core. The EEPROM information is not only a property of the mlx5en(4) driver.
Submitted by: slavash@ MFC after: 3 days Spon
Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl in mlx5core. The EEPROM information is not only a property of the mlx5en(4) driver.
Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies
show more ...
|
#
6deb0b1e |
| 02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add support for buffer parameter manipulations in mlx5en(4).
The following sysctls are added: dev.mce.N.conf.qos.cable_length dev.mce.N.conf.qos.buffers_size dev.mce.N.conf.qos.buffers_prio
Submitt
Add support for buffer parameter manipulations in mlx5en(4).
The following sysctls are added: dev.mce.N.conf.qos.cable_length dev.mce.N.conf.qos.buffers_size dev.mce.N.conf.qos.buffers_prio
Submitted by: kib@ MFC after: 3 days Sponsored by: Mellanox Technologies
show more ...
|
#
6b4040d8 |
| 02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Unify prints in mlx5en(4).
All prints in mlx5en(4) should use on of the macros: mlx5_en_err/dbg/warn
Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies
|