diff options
| author | martin <martin@NetBSD.org> | 2021-03-11 16:00:24 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2021-03-11 16:00:24 +0000 |
| commit | 5101f9dca328cb1cdbff997a64180245ee1d54fd (patch) | |
| tree | c2e37d13d6a428939e862b3356ae0d630a56be9b /share | |
| parent | bdf192a5a0e83bc35957571aba2e5da30fac30d3 (diff) | |
Pull up the following (all via patch) requested by msaitoh in ticket #1231:
sys/dev/pci/ixgbe/ixgbe.c 1.259, 1.278-1.279
sys/dev/pci/ixgbe/ixgbe.h 1.75
sys/dev/pci/ixgbe/ixgbe_netbsd.h 1.12
sys/dev/pci/ixgbe/ixgbe_vf.c 1.24-1.26
sys/dev/pci/ixgbe/ixgbe_x550.c 1.17
sys/dev/pci/ixgbe/ixv.c 1.155-1.156
sys/dev/pci/ixgbe/ix_txrx.c 1.64-67
sys/dev/pci/files.pci 1.436
share/man/man4/ixg.4 1.13-1.14
share/man/man4/ixv.4 1.6-1.7
- Fix a problem that the RX path stalled when the mbuf cluster is
exhausted.
- Modify some parameters to reduce packet dropping. See also the
manual's OPTIONS section for the detail.
- ixv(4): The max number of queue(pair) is not 7 but 8. Correctly
reset the hardware.
- Add "TX " to "Queue No Descriptor Available" evcnt(9) name to make
it more understandable.
- Fix a bug that some advertise speeds can't be set with
hw.ixgN.advertise_speed if both 2.5G and 5G are set. Fix the error
message, too.
- Fix typo in comment or debug message.
Diffstat (limited to 'share')
| -rw-r--r-- | share/man/man4/ixg.4 | 24 | ||||
| -rw-r--r-- | share/man/man4/ixv.4 | 24 |
2 files changed, 44 insertions, 4 deletions
diff --git a/share/man/man4/ixg.4 b/share/man/man4/ixg.4 index 7286d366679..c0af0c5b196 100644 --- a/share/man/man4/ixg.4 +++ b/share/man/man4/ixg.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: ixg.4,v 1.12 2018/05/09 08:01:16 wiz Exp $ +.\" $NetBSD: ixg.4,v 1.12.4.1 2021/03/11 16:00:24 martin Exp $ .\" .\" Copyright (c) 2001-2008, Intel Corporation .\" All rights reserved. @@ -33,7 +33,7 @@ .\" .\" $FreeBSD: src/share/man/man4/ixgbe.4,v 1.3 2010/12/19 23:54:31 yongari Exp $ .\" -.Dd May 9, 2018 +.Dd March 9, 2021 .Dt IXG 4 .Os .Sh NAME @@ -83,6 +83,26 @@ go to the Intel support website at: .\" with a supported adapter, email the specific information related to the .\" issue to .\" .Aq freebsdnic@mailbox.intel.com . +.Sh OPTIONS +The +.Nm +driver doesn't use the common +.Xr MCLGET 9 +interface and use the driver specific cluster allocation mechanism. +If it's exhausted, the +.Xr evcnt 9 +counter "ixgX qY Rx no jumbo mbuf" is incremented. +If this is observed, +the number can be changed by the following config parameter: +.Bl -tag -width IXGBE_JCLNUM_MULTI -offset 3n +.It Dv IXGBE_JCLNUM_MULTI +The number of RX jumbo buffers (clusters) per queue is calculated by +.Dv IXGBE_JCLNUM_MULTI +* (number of rx descriptors). +The total number of clusters per queue is available via the +.Li hw.ixgN.num_jcl_per_queue +.Xr sysctl 7 . +.El .Sh SEE ALSO .Xr arp 4 , .Xr ixv 4 , diff --git a/share/man/man4/ixv.4 b/share/man/man4/ixv.4 index f56ed12af3d..e0775d67b30 100644 --- a/share/man/man4/ixv.4 +++ b/share/man/man4/ixv.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: ixv.4,v 1.4.2.1 2019/09/26 19:07:23 martin Exp $ +.\" $NetBSD: ixv.4,v 1.4.2.2 2021/03/11 16:00:24 martin Exp $ .\" .\" Copyright (c) 2018 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 5, 2019 +.Dd March 9, 2021 .Dt IXV 4 .Os .Sh NAME @@ -43,6 +43,26 @@ newer chips support. It can be used on a .Nx guest that the host supports SR-IOV. +.Sh OPTIONS +The +.Nm +driver doesn't use the common +.Xr MCLGET 9 +interface and use the driver specific cluster allocation mechanism. +If it's exhausted, the +.Xr evcnt 9 +counter "ixgX qY Rx no jumbo mbuf" is incremented. +If this is observed, +the number can be changed by the following config parameter: +.Bl -tag -width IXGBE_JCLNUM_MULTI -offset 3n +.It Dv IXGBE_JCLNUM_MULTI +The number of RX jumbo buffers (clusters) per queue is calculated by +.Dv IXGBE_JCLNUM_MULTI +* (number of rx descriptors). +The total number of clusters per queue is available with the +.Li hw.ixgN.num_jcl_per_queue +.Xr sysctl 7 . +.El .Sh SEE ALSO .Xr arp 4 , .Xr ixg 4 , |
