From nobody Wed Oct 30 01:02:19 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdTP760Qxz5bH8B; Wed, 30 Oct 2024 01:02:19 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdTP74yslz4JkQ; Wed, 30 Oct 2024 01:02:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730250139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y/igCAyVnya/grgJy8lTNbXNsd1vHSCZ/U02BwZpDPo=; b=Nvh6VQXDruOvjhUfx3hWeTHTtB59BURlyV6ki78U8lIWMqbsxvz8HO9KMtXwFq/5N/nLcF crQ9BmiMTB69wNArpE+g3S8wAFeB/MZMEORHiHs+YG7z2AfnvR01ritSO0yUw6Fejjjed9 kzj+DAO3c3aIFgix/TrBTz16wQscBPLAviliH54gfFgTZ0/Y5p9bPXNN3PtPFV0VfXFZZL hiSHEwKScgFV1PdVgVf1MkVS+fx5f9dwfhmxSfe7kBNYD50TEc0oWDToM9ZRClkZphdraf /wQNDYvEvkUnlS15I9t15lFD/nvgDuDhbSfWTqFr+N5uwoRPMdf2O1iazvIjfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730250139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y/igCAyVnya/grgJy8lTNbXNsd1vHSCZ/U02BwZpDPo=; b=ZuX09D7UDPzczj4rBFvw69cPKI7PD60rPFsPkiPtHFGa2s/t1EgAbJrxjYI6tvabVErH9s LS4bh7vt9yyaFFkbRrffKGmCX76LOnuV4noUrfUwW/xbCl3leLeGKxY+ZVN+BTDQY96Ehy GQ1YfkhPPz6/6MyWzfWBlokqZ24QPv6y9V4Wn7ZXvZpjvbrQOnkrayaW8Des0JEmmTl/XM TJtms2J2F8n9ZQuDSPhS/LbPCGQqgEXX6dnyhDe090lT95Z6EAQO2D8n462CLl97uqwJif Id3kqEVf/gkoXZnh58nsytPd1urMA+sXWSSdJUR/mTrhG62tQgFJtu4G8pRw5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730250139; a=rsa-sha256; cv=none; b=GBDMIU1ThFIBCM6vh2eB/JXs3sviFJID59ZAuUDVjATVvW10JljSrmZa7Kb1DG3kliVaPg 5aHhvIDt6aoxVH9IUcA6qfaJnwshblAcmuG1GBkCOhC9uFgTWjtDJhJFWQRXajCcS2hcmA teGPzTAlHU3RU+XOcHottbJcWD0vslRin3LEVCiT81KBfqp1yFRoNiJwi87e56Qj9LEBHM WJHVKNl51jY5u4kzizrFL2dE5gfMyW5qZnNFz3EnMpfxnRwia/AGNljcAH+OskTL1EpGpW ENR9js9rHR+RoOzKynpgO0wuQJnfkg8QkoATPXo8mpvhVGcfvnWSxtrpEbsfeQ== 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 4XdTP74ZdCzmpp; Wed, 30 Oct 2024 01:02:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49U12Jx5023165; Wed, 30 Oct 2024 01:02:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U12J2w023162; Wed, 30 Oct 2024 01:02:19 GMT (envelope-from git) Date: Wed, 30 Oct 2024 01:02:19 GMT Message-Id: <202410300102.49U12J2w023162@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 2e0d2f95fe60 - stable/14 - ix.4: document LOADER TUNABLES List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 2e0d2f95fe602fb746e4369bc6d8e2c3a836afa4 Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=2e0d2f95fe602fb746e4369bc6d8e2c3a836afa4 commit 2e0d2f95fe602fb746e4369bc6d8e2c3a836afa4 Author: Felix Johnson AuthorDate: 2024-10-27 00:46:41 +0000 Commit: Kevin Bowling CommitDate: 2024-10-30 01:01:30 +0000 ix.4: document LOADER TUNABLES PR: 213026 Co-authored-by: Alexander Ziaee (cherry picked from commit a340b4649621f0dbc0607115217889909ce33bd1) --- share/man/man4/ix.4 | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ix.4 b/share/man/man4/ix.4 index 32b5386ea7d4..4f90ded1e3ee 100644 --- a/share/man/man4/ix.4 +++ b/share/man/man4/ix.4 @@ -86,6 +86,42 @@ Intel(R) 82598EB 10 Gigabit AF Network Connection .It Intel(R) 82598EB 10 Gigabit AT CX4 Network Connection .El +.Sh LOADER TUNABLES +The +.Nm +driver supports the following loader tunables: +.Bl -tag -width "hw.ix.allow_unsupported_sfp" +.It Va hw.ix.max_interrupt_rate +Maximum interrupts per second. +.It Va hw.ix.flow_control +Default flow control used for all adapters. +.It Va hw.ix.advertise_speed +Default advertised speed for all adapters. +.It Va hw.ix.enable_msix +Enable Message Signalled Interrupts (MSI-X). +.It Va hw.ix.allow_unsupported_sfp +Allow unsupported small form-factor pluggable +.Pq SFP +modules. +Use at your own risk. +.It Va hw.ix.enable_fdir +Enable Flow Director. +Flow Director directs Ethernet packets to the core where the +packet consuming process, application, container, +or microservice is running. +.It Va hw.ix.enable_rss +Enable Receive-Side Scaling (RSS). +When RSS is enabled, all of the receive data processing for +a particular TCP connection is shared across multiple processors +or processor cores. +Without RSS, all of the processing is performed by a single +processor, resulting in inefficient system cache utilization. +This has no effect if your system has only one processing unit. +.It Va hw.ix.enable_aim +Enable Adaptive Interrupt Moderation (AIM). +Vary the interrupt rate over time based on the traffic for +that interrupt vector. +.El .Sh DIAGNOSTICS .Bl -diag .It "ix%d: Unable to allocate bus resource: memory" @@ -113,7 +149,8 @@ issue to .Xr ng_ether 4 , .Xr polling 4 , .Xr vlan 4 , -.Xr ifconfig 8 +.Xr ifconfig 8 , +.Xr sysctl 8 .Sh HISTORY The .Nm