aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mlx5tool
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2019-05-08 10:51:07 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2019-05-08 10:51:07 +0000
commitff08edcb03eea051052a559914ac0a11777f2593 (patch)
tree2e2e0839e096cc36e676e92377e7f45172e8d539 /usr.sbin/mlx5tool
parentea78f07b5eb1c2236814d35a280c34541fb1cf82 (diff)
downloadsrc-ff08edcb03eea051052a559914ac0a11777f2593.tar.gz
src-ff08edcb03eea051052a559914ac0a11777f2593.zip
Document userspace firmware flash in mlx5tool(8) and mlx5io(4).
Submitted by: kib@ MFC after: 3 days Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=347289
Diffstat (limited to 'usr.sbin/mlx5tool')
-rw-r--r--usr.sbin/mlx5tool/mlx5tool.813
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/mlx5tool/mlx5tool.8 b/usr.sbin/mlx5tool/mlx5tool.8
index 5966102bdd53..64eb03b40a94 100644
--- a/usr.sbin/mlx5tool/mlx5tool.8
+++ b/usr.sbin/mlx5tool/mlx5tool.8
@@ -1,5 +1,5 @@
.\"
-.\" Copyright (c) 2018 Mellanox Technologies
+.\" Copyright (c) 2018, 2019 Mellanox Technologies
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -37,11 +37,14 @@
.Fl e
.Nm
.Fl d Ar domain:bus:slot:func
-.Fl r
+.Fl rn
.Nm
.Fl d Ar domain:bus:slot:func
.Fl o Ar file
.Fl w
+.Nm
+.Fl d Ar domain:bus:slot:func
+.Fl f Ar file.mfa2
.Sh DESCRIPTION
The
.Nm
@@ -82,6 +85,12 @@ Fetches the stored firmware dump and writes it into the file specified
by the
.Fl o
option argument.
+.It Fl f
+Flashes the firmware image
+.Fa file.mfa2
+to the specified adapter.
+Image must be in MFA2 pack format and contain a component suitable
+for the adapter hardware.
.El
.Sh FILES
The