From owner-dev-commits-src-main@freebsd.org Wed Feb 24 05:04:36 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9CEB5548A9E; Wed, 24 Feb 2021 05:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlkP03sDCz3mDX; Wed, 24 Feb 2021 05:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7327F265CC; Wed, 24 Feb 2021 05:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 11O54aDS022206; Wed, 24 Feb 2021 05:04:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 11O54aSk022204; Wed, 24 Feb 2021 05:04:36 GMT (envelope-from git) Date: Wed, 24 Feb 2021 05:04:36 GMT Message-Id: <202102240504.11O54aSk022204@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rajesh Kumar M A Subject: git: ec786886661a - main - Update manpage for AMD 10GbE driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rajeshasp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec786886661ac8d6c41420c4460eba8461308e0b Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 05:04:36 -0000 The branch main has been updated by rajeshasp: URL: https://cgit.FreeBSD.org/src/commit/?id=ec786886661ac8d6c41420c4460eba8461308e0b commit ec786886661ac8d6c41420c4460eba8461308e0b Author: Rajesh Kumar M A AuthorDate: 2021-02-24 05:01:10 +0000 Commit: Rajesh Kumar M A CommitDate: 2021-02-24 05:01:10 +0000 Update manpage for AMD 10GbE driver Approved by: vmaffione, gallatin Differential Revision: https://reviews.freebsd.org/D28724 MFC after: 1 week --- share/man/man4/axp.4 | 69 +++++++++++++++------------------------------------- 1 file changed, 20 insertions(+), 49 deletions(-) diff --git a/share/man/man4/axp.4 b/share/man/man4/axp.4 index 598e6a968e7a..41c2737bc7f1 100644 --- a/share/man/man4/axp.4 +++ b/share/man/man4/axp.4 @@ -29,7 +29,7 @@ .\" .\" * Other names and brands may be claimed as the property of others. .\" -.Dd January 24, 2021 +.Dd February 19, 2021 .Dt AXP 4 .Os .Sh NAME @@ -133,41 +133,23 @@ of the register by reading the second variable. Configure the log-level for the driver. Default is 0. Supports 0-3. -.It Va dev.ax.X.single_fl -This variable must be set before loading the driver, either via -.Xr loader.conf 5 -or through the use of -.Xr kenv 1 . -This cannot be modified when driver is loaded. -.Pp -Setting this variable in +.It Va dev.ax.X.link_workaround +This variable enables the workaround for an intermittent link issue. +When link does not come up for long time, this variable can be set to 1 to +reset the phy and bring up the link. +.El +.Sh LOADER TUNABLES +The following variable is available as .Xr loader.conf 5 -needs the system to be restarted to take effect. -When using -.Xr kenv 1 , -use the wrapper variable -.Va dev.ax.single_fl\&, -which will configure all AMD interfaces with single freelist per receive queue. -Default is 2 freelist per receive queue. -.Pp -This variable is to configure the interface when single freelist is needed. -(For Eg. netmap). -Basically, this will control the software behavior of how the receive -descriptors are used. -.Pp -Setting this variable to 1, will use 1 Freelist per receive queue. -.Pp -Setting this variable to 0, will use 2 Freelist per receive queue. -.Pp -Based on the setting, the receive buffers are programmed accordingly on the -received descriptors. +tunable. +.Bl -tag -width indent +.It Va dev.ax.X.sph_enable +This variable controls split header feature for the interface. +Default is 1, meaning the split header support is enabled. .Pp -By default, this variable will be set to 0, meaning the interfaces will be -configured for regular data traffic (not netmap traffic). -.It Va dev.ax.X.sph_enabled This variable must be set before loading the driver, either via .Xr loader.conf 5 -or through the use of +or through .Xr kenv 1 . This cannot be modified when driver is loaded. .Pp @@ -177,24 +159,13 @@ needs the system to be restarted to take effect. When using .Xr kenv 1 , use the wrapper variable -.Va dev.ax.sph_enable\&, -which will configure(enable/disable) split header support in all -AMD interfaces. -.Pp -This variable is to control enable/disable of the split header feature in -the interface. -.Pp -Setting this variable to 1, will enable split header feature. -.Pp -Setting this variable to 0, will disable split header feature. -.Pp -By default, this variable will be set to 1, meaning the Split header support be -enabled. +.Va dev.ax.sph_enable , +which will configure(enable/disable) split header support for all +.Nm +interfaces. .Pp -NOTE: It is recommended to use this variable only when -.Va single_fl\& -is configured. -Otherwise let it be default value. +To use netmap with this device, split header support must be disabled +(set this variable to 0). .El .Sh SEE ALSO .Xr arp 4 ,