Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 11:38:54 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342367 - in head: sbin/ifconfig share/man/man4
Message-ID:  <201812221138.wBMBcsdO091836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Sat Dec 22 11:38:54 2018
New Revision: 342367
URL: https://svnweb.freebsd.org/changeset/base/342367

Log:
  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

Modified:
  head/sbin/ifconfig/ifconfig.8
  head/share/man/man4/lagg.4

Modified: head/sbin/ifconfig/ifconfig.8
==============================================================================
--- head/sbin/ifconfig/ifconfig.8	Sat Dec 22 10:57:52 2018	(r342366)
+++ head/sbin/ifconfig/ifconfig.8	Sat Dec 22 11:38:54 2018	(r342367)
@@ -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

Modified: head/share/man/man4/lagg.4
==============================================================================
--- head/share/man/man4/lagg.4	Sat Dec 22 10:57:52 2018	(r342366)
+++ head/share/man/man4/lagg.4	Sat Dec 22 11:38:54 2018	(r342367)
@@ -146,7 +146,7 @@ modes will use the RSS hash from the network card if a
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812221138.wBMBcsdO091836>