ifconfig.4, lagg.4: fix documentation bug: -use_flowid needs to be used

to force local hash computation and disable usage of RSS hash
provided by driver.

PR:		234242
MFC after:	1 week
This commit is contained in:
Eugene Grosbein 2018-12-22 11:38:54 +00:00
parent 5ef4f86d7a
commit 8ebaf58450
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342367
2 changed files with 5 additions and 5 deletions

View file

@ -2469,7 +2469,7 @@ src/dst address for IPv4 or IPv6.
.It Cm l4
src/dst port for TCP/UDP/SCTP.
.El
.It Cm use_flowid
.It Cm -use_flowid
Enable local hash computation for RSS hash on the interface.
The
.Li loadbalance
@ -2478,7 +2478,7 @@ and
modes will use the RSS hash from the network card if available
to avoid computing one, this may give poor traffic distribution
if the hash is invalid or uses less of the protocol header information.
.Cm use_flowid
.Cm -use_flowid
disables use of RSS hash from the network card.
The default value can be set via the
.Va net.link.lagg.default_use_flowid
@ -2491,8 +2491,8 @@ and
.Li 1
means
.Dq enabled .
.It Cm -use_flowid
Disable local hash computation for RSS hash on the interface.
.It Cm use_flowid
Use the RSS hash from the network card if available.
.It Cm flowid_shift Ar number
Set a shift parameter for RSS local hash computation.
Hash is calculated by using flowid bits in a packet header mbuf

View file

@ -146,7 +146,7 @@ modes will use the RSS hash from the network card if available to avoid
computing one, this may give poor traffic distribution if the hash is invalid
or uses less of the protocol header information.
Local hash computation can be forced per interface by setting the
.Cm use_flowid
.Cm -use_flowid
.Xr ifconfig 8
flag.
The default for new interfaces is set via the