122f2c49aSHans Petter Selasky.\" Copyright (c) 2015 Mellanox Technologies 2575945f1SHans Petter Selasky.\" Copyright (c) 2021 NVIDIA corporation & affiliates 322f2c49aSHans Petter Selasky.\" All rights reserved. 422f2c49aSHans Petter Selasky.\" 522f2c49aSHans Petter Selasky.\" Redistribution and use in source and binary forms, with or without 622f2c49aSHans Petter Selasky.\" modification, are permitted provided that the following conditions 722f2c49aSHans Petter Selasky.\" are met: 822f2c49aSHans Petter Selasky.\" 1. Redistributions of source code must retain the above copyright 922f2c49aSHans Petter Selasky.\" notice, this list of conditions and the following disclaimer. 1022f2c49aSHans Petter Selasky.\" 2. Redistributions in binary form must reproduce the above copyright 1122f2c49aSHans Petter Selasky.\" notice, this list of conditions and the following disclaimer in the 1222f2c49aSHans Petter Selasky.\" documentation and/or other materials provided with the distribution. 1322f2c49aSHans Petter Selasky.\" 1422f2c49aSHans Petter Selasky.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS `AS IS' AND 1522f2c49aSHans Petter Selasky.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1622f2c49aSHans Petter Selasky.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1722f2c49aSHans Petter Selasky.\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 1822f2c49aSHans Petter Selasky.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1922f2c49aSHans Petter Selasky.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2022f2c49aSHans Petter Selasky.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2122f2c49aSHans Petter Selasky.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2222f2c49aSHans Petter Selasky.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2322f2c49aSHans Petter Selasky.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2422f2c49aSHans Petter Selasky.\" SUCH DAMAGE. 2522f2c49aSHans Petter Selasky.\" 26575945f1SHans Petter Selasky.Dd July 20, 2021 27280186c7SChristian Brueffer.Dt MLX5EN 4 2822f2c49aSHans Petter Selasky.Os 2922f2c49aSHans Petter Selasky.Sh NAME 3022f2c49aSHans Petter Selasky.Nm mlx5en 31575945f1SHans Petter Selasky.Nd "NVIDIA Mellanox ConnectX-4/5/6 [Dx/Ex/Lx] based 200Gb, 100Gb, 50Gb, 40Gb, 25Gb and 10Gb ethernet adapter driver" 3222f2c49aSHans Petter Selasky.Sh SYNOPSIS 3322f2c49aSHans Petter SelaskyTo compile this driver into the kernel, 3422f2c49aSHans Petter Selaskyplace the following lines in your 3522f2c49aSHans Petter Selaskykernel configuration file: 3622f2c49aSHans Petter Selasky.Bd -ragged -offset indent 3722f2c49aSHans Petter Selasky.Cd "options COMPAT_LINUXKPI" 3838535d6cSHans Petter Selasky.Cd "options RATELIMIT" 39575945f1SHans Petter Selasky.Cd "options KERN_TLS" 403b2324c3SHans Petter Selasky.Cd "device xz" 413b2324c3SHans Petter Selasky.Cd "device mlxfw" 423b2324c3SHans Petter Selasky.Cd "device firmware" 4322f2c49aSHans Petter Selasky.Cd "device mlx5" 4422f2c49aSHans Petter Selasky.Cd "device mlx5en" 4522f2c49aSHans Petter Selasky.Ed 4622f2c49aSHans Petter Selasky.Pp 475b6a9ce8SHans Petter SelaskyTo load the driver as a module at run-time, 485b6a9ce8SHans Petter Selaskyrun the following command as root: 495b6a9ce8SHans Petter Selasky.Bd -literal -offset indent 505b6a9ce8SHans Petter Selaskykldload mlx5en 515b6a9ce8SHans Petter Selasky.Ed 525b6a9ce8SHans Petter Selasky.Pp 5322f2c49aSHans Petter SelaskyTo load the driver as a 5422f2c49aSHans Petter Selaskymodule at boot time, place the following lines in 5522f2c49aSHans Petter Selasky.Xr loader.conf 5 : 5622f2c49aSHans Petter Selasky.Bd -literal -offset indent 5722f2c49aSHans Petter Selaskymlx5en_load="YES" 5822f2c49aSHans Petter Selasky.Ed 5922f2c49aSHans Petter Selasky.Sh DESCRIPTION 6022f2c49aSHans Petter SelaskyThe 6122f2c49aSHans Petter Selasky.Nm 6222f2c49aSHans Petter Selaskydriver provides support for PCI Express Ethernet adapters based on 63575945f1SHans Petter SelaskyConnectX-4/5/6 [Dx, Ex and Lx variants]. 64575945f1SHans Petter SelaskyThe driver supports Jumbo Frames, Transmit and Receive checksum offload, 6522f2c49aSHans Petter SelaskyTCP segmentation offload (TSO), Large Receive Offload (LRO), 66575945f1SHans Petter SelaskyHW Large Receive Offload (HW LRO), VLAN tag insertion and extraction, 67575945f1SHans Petter SelaskyVLAN checksum offload, VLAN TSO, hardware rate limiting (TXRTLMT), 68575945f1SHans Petter Selaskystateless VxLAN hardware offload for receive and transmit, 69575945f1SHans Petter SelaskyHW TLS offload for transmit, Receive Side Steering (RSS) and 70*14e3d324SJens Schweikhardt.Xr numa 4 71575945f1SHans Petter Selaskyawareness. 7222f2c49aSHans Petter Selasky.Pp 73575945f1SHans Petter SelaskyThe network interface name is 74575945f1SHans Petter Selasky.Dv mce<N> 75575945f1SHans Petter Selaskywhich corresponds to a PCI function, 76575945f1SHans Petter Selasky.Dv mlx_core<N> , 77575945f1SHans Petter Selaskywhere 78575945f1SHans Petter Selasky.Dv <N> 79575945f1SHans Petter Selaskyis a number starting at zero. 80575945f1SHans Petter SelaskyThere is at most one network interface per PCI function. 81575945f1SHans Petter Selasky.Pp 82575945f1SHans Petter SelaskyFor further information and questions related to hardware 83575945f1SHans Petter Selaskyrequirements, see 84575945f1SHans Petter Selasky.Pa https://www.mellanox.com . 8522f2c49aSHans Petter Selasky.Sh HARDWARE 8622f2c49aSHans Petter SelaskyThe 8722f2c49aSHans Petter Selasky.Nm 88575945f1SHans Petter Selaskydriver supports 200Gb, 100Gb, 50Gb, 40Gb, 25Gb and 10Gb ethernet adapters. 89575945f1SHans Petter Selasky.Pp 9068445e34SChristian Brueffer.Bl -bullet -compact 9122f2c49aSHans Petter Selasky.It 92575945f1SHans Petter SelaskyConnectX-6 supports 10/20/25/40/50/56/100Gb/200Gb/s speeds. 9322f2c49aSHans Petter Selasky.It 94575945f1SHans Petter SelaskyConnectX-5 supports 10/20/25/40/50/56/100Gb/s speeds. 9522f2c49aSHans Petter Selasky.It 96575945f1SHans Petter SelaskyConnectX-4 supports 10/20/25/40/50/56/100Gb/s speeds. 9722f2c49aSHans Petter Selasky.It 98575945f1SHans Petter SelaskyConnectX-4 LX supports 10/25/40/50Gb/s speeds and reduced power consumption. 9922f2c49aSHans Petter Selasky.El 100575945f1SHans Petter Selasky.Sh CONFIGURATION 101575945f1SHans Petter SelaskyThe 102575945f1SHans Petter Selasky.Nm 103575945f1SHans Petter Selaskynetwork interface is configured using 104575945f1SHans Petter Selasky.Xr ifconfig 8 105575945f1SHans Petter Selaskyand the 106575945f1SHans Petter Selasky.Xr sysctl 8 107575945f1SHans Petter Selaskytree at 108575945f1SHans Petter Selasky.Dv dev.mce.<N> . 109575945f1SHans Petter SelaskyAll configurable entries are also tunables, and can be put directly into the 110575945f1SHans Petter Selasky.Xr loader.conf 5 111575945f1SHans Petter Selaskyfor persistent configuration. 11222f2c49aSHans Petter Selasky.Sh SUPPORT 11322f2c49aSHans Petter SelaskyFor general information and support, 114575945f1SHans Petter Selaskygo to the NVIDIA Mellanox networking support website at: 115575945f1SHans Petter Selasky.Pa https://www.mellanox.com . 11622f2c49aSHans Petter Selasky.Pp 117575945f1SHans Petter SelaskyIf an issue is identified with this driver using a supported adapter, 118575945f1SHans Petter Selaskye-mail all the specific information related to the issue to 119575945f1SHans Petter Selasky.Aq Mt nbu-freebsd-drivers@nvidia.com . 12022f2c49aSHans Petter Selasky.Sh SEE ALSO 12122f2c49aSHans Petter Selasky.Xr ifconfig 8 12222f2c49aSHans Petter Selasky.Sh HISTORY 12322f2c49aSHans Petter SelaskyThe 12422f2c49aSHans Petter Selasky.Nm 12522f2c49aSHans Petter Selaskydevice driver first appeared in 12622f2c49aSHans Petter Selasky.Fx 11.0 . 12722f2c49aSHans Petter Selasky.Sh AUTHORS 12822f2c49aSHans Petter Selasky.An -nosplit 12922f2c49aSHans Petter SelaskyThe 13022f2c49aSHans Petter Selasky.Nm 13122f2c49aSHans Petter Selaskydriver was written by 132575945f1SHans Petter Selasky.An NVIDIA Mellanox networking <nbu-freebsd-drivers@nvidia.com> . 133