.TP
.BR inline-mode " { " none " | " link " | " network " | " transport " } "
-Some HWs need the VF driver to put part of the packet headers on the TX descriptor so the e-switch can do proper matching and steering.
+Some hardware devices need the VF driver to put part of the packet headers on the TX descriptor so the e-switch can do proper matching and steering.
.I none
- None
- Set new value while driver is running. This configuration mode doesn't require any reset to apply the new value.
.I driverinit
-- Set new value which will be applied during driver initialization. This configuration mode requires restart driver by devlink reload command to apply the new value.
+- Set new value which will be applied during driver initialization. This configuration mode requires restarting the driver by devlink reload command to apply the new value.
.I permanent
- New value is written to device's non-volatile memory. This configuration mode requires hard reset to apply the new value.
action will be used.
Note that even though user asks for a specific action, the driver implementation
might require to perform another action alongside with it. For example, some
-driver do not support driver reinitialization being performed without fw
+drivers do not support driver reinitialization being performed without fw
activation. Therefore, the devlink reload command returns the list of actions
-which were actrually performed.
+which were actually performed.
.I driver_reinit
- Driver entities re-initialization, applying devlink-param and
.TP
.BR type " { " eth " | " ib " | " auto " } "
-set port type
+Set port type.
.I eth
- Ethernet
.TP
.BI count " COUNT"
-number of ports to split to.
+Number of ports to split into.
.SS devlink port unsplit - unsplit previously split devlink port
Could be performed on any split port of the same split group.
.SS devlink port add - add a devlink port
.PP
.I "DEV"
-- specifies the devlink device to operate on. or
+- specifies the devlink device to operate on, or
.PP
.I "DEV/PORT_INDEX"
.TP
.BI pfnum " PFNUMBER "
-Specifies PCI pfnumber to use on which a SF device to create
+Specifies the PCI PF number on which to create an SF device.
.TP
.BI sfnum " SFNUMBER "
Specifies sfnumber to assign to the device of the SF.
-This field is optional for those devices which supports auto assignment of the
+This field is optional for those devices which support auto assignment of the
SF number.
.TP
.TP
.BI hw_addr " ADDR"
-Hardware address of the function to set. This is a Ethernet MAC address when
+Hardware address of the function to set. This is an Ethernet MAC address when
port type is Ethernet.
.TP
- Set new value while driver is running. This configuration mode doesn't require any reset to apply the new value.
.I driverinit
-- Set new value which will be applied during driver initialization. This configuration mode requires restart driver by devlink reload command to apply the new value.
+- Set new value which will be applied during driver initialization. This configuration mode requires restarting the driver by devlink reload command to apply the new value.
.I permanent
- New value is written to device's non-volatile memory. This configuration mode requires hard reset to apply the new value.
.PP
devlink port unsplit pci/0000:01:00.0/1
.RS 4
-Unplit the specified previously split devlink port.
+Unsplit the specified previously split devlink port.
.RE
.PP
devlink port health show
.PP
devlink port function set pci/0000:01:00.0/1 hw_addr 00:00:00:11:22:33 state active
.RS 4
-Configure hardware address and also active the function. When a function is
+Configure hardware address and also activate the function. When a function is
activated together with other configuration in a single command, all the
configuration is applied first before changing the state to active.
.RE
.TP 8
.B leaf
Represents a single devlink port; created/destroyed by the driver and bound to
-the devlink port. As example, some driver may create leaf rate object for every
-devlink port associated with VF. Since leaf have 1to1 mapping to it's devlink
-port, in user space it is referred as corresponding devlink port
+the devlink port. As an example, some drivers may create a leaf rate object for every
+devlink port associated with VF. Since leaves have a 1-to-1 mapping to their devlink
+port, in user space they are referred to as corresponding devlink port
\fIDEV/PORT_INDEX\fR;
.TP 8
.B node
userspace it is referred as \fIDEV/NODE_NAME\fR, where node name can be any,
except decimal number, to avoid collisions with leafs.
.PP
-Command output show rate object identifier, it's type and rate values along with
+Command output show rate object identifier, its type and rate values along with
parent node name. Rate values printed in SI units which are more suitable to
represent specific value. To print values in IEC units \fB-i\fR switch is
used. JSON (\fB-j\fR) output always print rate values in bytes per second. Zero
This arbitration scheme can be used simultaneously with the strict priority.
As a node is configured with a higher rate it gets more BW relative to it's
siblings. Values are relative like a percentage points, they basically tell
-how much BW should node take relative to it's siblings.
+how much BW should node take relative to its siblings.
.PP
.BI tc-bw " INDEX:N"
- allows the user to assign relative bandwidth shares to specific traffic
.PP
.TP 8
.I N
-These parameter accept integer meaning weight or priority of a node.
+These parameters accept an integer meaning weight or priority of a node.
.PP
.BI parent " NODE_NAME \fR| " noparent
- set rate object parent to existing node with name \fINODE_NAME\fR or unset
-parent. Rate limits of the parent node applied to all it's children. Actual
-behaviour is details of driver's implementation. Setting parent to empty ("")
-name due to the kernel logic treated as parent unset.
+parent. Rate limits of the parent node are applied to all its children. Actual
+behavior is a detail of the driver's implementation. Setting parent to empty ("")
+name due to the kernel logic is treated as unsetting the parent.
.SS devlink port function rate add - create node rate object with specified parameters.
Creates rate object of type node and sets parameters. Parameters same as for the
.in +8
.ti -8
.B devlink
-.RI "[ " OPTIONS " ] { " dev | port | monitor | sb | resource | region | health | trap " } { " COMMAND " | "
+.RI "[ " OPTIONS " ] { " dev | port | monitor | sb | resource | region | health | trap | rate | lc | dpipe " } { " COMMAND " | "
.BR help " }"
.sp
.TP
.BR "\-b", " \-batch " <FILENAME>
Read commands from provided file or standard input and invoke them.
-First failure will cause termination of devlink.
+The first failure will cause termination of devlink.
.TP
.B \-force
.TP
.B region
-- devlink address region access
+- devlink address region access.
.TP
.B health
-- devlink reporting and recovery
+- devlink reporting and recovery.
.TP
.B trap
-- devlink trap configuration
+- devlink trap configuration.
+
+.TP
+.B rate
+- devlink rate object configuration.
+
+.TP
+.B lc
+- devlink line card configuration.
+
+.TP
+.B dpipe
+- devlink datapath pipeline visualization.
.SS
.I COMMAND
.BR devlink-region (8),
.BR devlink-health (8),
.BR devlink-trap (8),
+.BR devlink-rate (8),
+.BR devlink-lc (8),
+.BR devlink-dpipe (8)
.br
.SH REPORTING BUGS