From nobody Wed Oct 30 01:03:44 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 4XdTQn31zlz5bH7f; Wed, 30 Oct 2024 01:03:45 +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 4XdTQn0CC9z4LXx; Wed, 30 Oct 2024 01:03:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730250225; 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=XZnvk3ZYeuGyl9QQuyY6J8noiEVq95n2fFBnICkxPHU=; b=lOmtR+Y26EVbAyrHQ7jIpEyxrB/SLKKmszyIn2DSbHiC4Y6IbS1P8j7jdedGgEpdf/KfS2 C0fTds9GCX3xpD9X6HmhPoPl0siu5vu3eDRhAeO/JEoKu8WkoOcX1oO/7C5SxZLc2eTMVy I4+jPqBp3BMQWByxvhlppnYJlEIHun3W8zWj8EXukeuwuF+zmbiWK+JoLGvZDVG34nHdXW 89aAi6imdtmNcca3vRxg0f7AeV1IQfLK9KsPV1AjIU4ke4ynpQAZg6rCya2CX9HOHk9Oos DdkMXWJ3AVlXEkku1GKFXtdHc67A8dTjEGR6xJDAwN2enxiVAC1o0Z6bN6Gc/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730250225; 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=XZnvk3ZYeuGyl9QQuyY6J8noiEVq95n2fFBnICkxPHU=; b=KUsIGd7+h+SiW1oH4TS9BRC4LePWb+vGuvIfZmaIEAx4HHamxmm19bi5pnvu5JGz4Kgqxk E8cVPbF8t2oTr7yWOhwlWrGICf+BZAsXdUvC0XCBFOKAMCWIk4NZjpcMzzwAt594MyYJL7 9VAe1jqJplHu1Clk0aoDwnuzM1d4tlja4iMREtdk8HNzg6OiwsryaJgH5Jm61OxhZ4hJjX ebcFM1w1SKtsk2Mnze8sQWC7W6WEkDq4Y3FUfGjzBNqRr9CowhOegU9EuMojHsV/Cc54hJ +EehBL4yEpdzq+wN5/aZZbbxSVb2Kwb+X/ntt4Mi0jXt9s7n3RKw6s4ffPWNfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730250225; a=rsa-sha256; cv=none; b=luaVbFsNh200WHytdbN4/KAph3gQIbxImoYNfXFkTyj5g8VfFvL1JqNY5Q67wiVQeL+4iI EuNBi6DFvja2u49zDMm2hHLQlK7otC3tfTjFs75cX3D7EDTaPoj6qtx8/7N2Ol0lpuyBiJ Gn9++PBW4hCcFX1rO9FjpiU1U3O9Af3FWiKT75i1ePV1um6T9KdEr3GcZhOpAtxWmuQZza SiaQnyeoSlvj97dMrY/zs74CPQqJf0KIEgVfZoZeODfZsOAKblAHwmDqEjPswWMJbe9kLO uyzDjwEH9T4Bi8if40LSme//p2nkMoFv43PNzU+BtcRpOOXVOCk0q5QkHo/NRw== 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 4XdTQm6wx7zmpy; Wed, 30 Oct 2024 01:03:44 +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 49U13irE023925; Wed, 30 Oct 2024 01:03:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U13itO023921; Wed, 30 Oct 2024 01:03:44 GMT (envelope-from git) Date: Wed, 30 Oct 2024 01:03:44 GMT Message-Id: <202410300103.49U13itO023921@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: 923e8f418cb8 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 923e8f418cb804385e0bdc3ce102abb534fdf948 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=923e8f418cb804385e0bdc3ce102abb534fdf948 commit 923e8f418cb804385e0bdc3ce102abb534fdf948 Author: Felix Johnson AuthorDate: 2024-10-27 00:46:41 +0000 Commit: Kevin Bowling CommitDate: 2024-10-30 01:03:09 +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