mlx5io.4 (347842) | mlx5io.4 (347869) |
---|---|
1.\" 2.\" Copyright (c) 2018, 2019 Mellanox Technologies 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 2018, 2019 Mellanox Technologies 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: stable/11/share/man/man4/mlx5io.4 347842 2019-05-16 17:51:30Z hselasky $ | 26.\" $FreeBSD: stable/11/share/man/man4/mlx5io.4 347869 2019-05-16 18:20:14Z hselasky $ |
27.\" 28.Dd May 7, 2019 29.Dt mlx5io 4 30.Os 31.Sh NAME 32.Nm mlx5io 33.Nd IOCTL interface to manage Connect-X 4/5 Mellanox network adapters 34.Sh SYNOPSIS --- 102 unchanged lines hidden (view full) --- 137 size_t img_fw_data_len; 138}; 139.Ed 140Image address in memory is passed in 141.Dv img_fw_data , 142the length of the image is specified in 143.Dv img_fw_data_len 144field. | 27.\" 28.Dd May 7, 2019 29.Dt mlx5io 4 30.Os 31.Sh NAME 32.Nm mlx5io 33.Nd IOCTL interface to manage Connect-X 4/5 Mellanox network adapters 34.Sh SYNOPSIS --- 102 unchanged lines hidden (view full) --- 137 size_t img_fw_data_len; 138}; 139.Ed 140Image address in memory is passed in 141.Dv img_fw_data , 142the length of the image is specified in 143.Dv img_fw_data_len 144field. |
145.It Dv MLX5_FW_RESET 146Requests PCIe link-level reset on the device. 147The address of the device is specified by the 148.Vt struct mlx5_tool_addr 149structure, which should be passed as an argument. |
|
145.El 146.Sh FILES 147The 148.Pa /dev/mlx5ctl 149.Xr devfs 5 150node is used to pass commands to the driver. 151.Sh RETURN VALUES 152If successful, the IOCTL returns zero. 153Otherwise, -1 is returned and the global variable 154.Va errno 155is set to indicate the error. 156.Sh SEE ALSO 157.Xr errno 2 , 158.Xr ioctl 2 , 159.Xr mlx5en 4 , 160.Xr mlx5ib 4 , 161.Xr mlx5tool 8 162and 163.Xr pci 9 . | 150.El 151.Sh FILES 152The 153.Pa /dev/mlx5ctl 154.Xr devfs 5 155node is used to pass commands to the driver. 156.Sh RETURN VALUES 157If successful, the IOCTL returns zero. 158Otherwise, -1 is returned and the global variable 159.Va errno 160is set to indicate the error. 161.Sh SEE ALSO 162.Xr errno 2 , 163.Xr ioctl 2 , 164.Xr mlx5en 4 , 165.Xr mlx5ib 4 , 166.Xr mlx5tool 8 167and 168.Xr pci 9 . |