From nobody Sun Oct 27 09:08:03 2024 X-Original-To: dev-commits-src-main@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 4XbrK02V80z5bmWZ; Sun, 27 Oct 2024 09:08:04 +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 4XbrK00X1Lz4Z4q; Sun, 27 Oct 2024 09:08:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730020084; 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=lRHeBKCizACD6oKoRjiaVkpenwj773KucjztwkwY36g=; b=yO6TNL/v+x2Fdz6dL8IukGTWSQXO2lyyjdrSXzwvi9W2Zj9eSjGPttYkoHInfY2hEPYR6h uDboeXD0lcd25KNqYzHVHkgyRBL7+Nx175xIpFgS3RKG9qOAgRTyfz3O1k3uUZKns/jEEv 4vro0xSCRfDIJJEFMXSsdrb7ROPHNGOmAjncxdjXIvQ547Emb1vmIOA88rR5uoCk5A87hM 14stAbk9ytu7K7aicsRohzU4SXs7Jl7xh6j9w8yLBunnk5d7Meca4WGGQJ3E8VdMiWnd+e 3d5sXYSlxLzt6M9iLqUUlkZe5IRwwQVodGY5bIo8OyG9G5OYwwHIVB84tO3BrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730020084; 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=lRHeBKCizACD6oKoRjiaVkpenwj773KucjztwkwY36g=; b=gm45grfPMe3qcTW5iGm4+5chBOViLV1ztcmc9CH00boKHOIKNf8Jvrt69naZWZsWm184k7 7CdmobDPYnbeX4rTRvQB34BKlxbQwO0qLNB3WLMK3iw9QzvWze7XolOvORosm/rvvkuLoe H20BQX6jHWTxAKIQ441D2uhPVD+/cC/17UtgxitF5ia7GZKAGqRmOmFgEac+RT8kbLCgxg HIE6kM418LEYYIKjwXNoOmK2t87aiOjC2Xsi6FodDIgz6bMdxOTXdXLE6GaZWB28YsU/KM 5HYcX/VTCDYAlvv5zalbuar4eBlqNdI70cgAVpCO5gbbt9YAH6alWmXB6LHQvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730020084; a=rsa-sha256; cv=none; b=JuRPFKhIvsf19T/EXL8k41j2JS+FN0+mY5u25Bkb01zD+hyyuUk8/3xNZOqKqGv8AFLVNP npJ3UZBdsaG+YzMjgOOjBOaY9n4jJnUtBVsbBZlJFYH5OjEvMI9j0ZmT89fq4p32j8LSFp bkVSAVstfibocuIXRM2FvLRSoiFUh1W4yhMZ22XvNtnA1IbEJRR/A5nWRYozw3iueq4rd5 d/MFUdbtMC+sxiRpqd20Gy8GF7iw98PwSe3xrOkwMwzk8NY+ufJEVhIW+vsvgZYNHvSsDZ ObG0GSWQjNJh/0Dw8BY/ovYuVGB9fP+w7cyVdq80nkppefhT9SgYIsSnIfLpbQ== 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 4XbrK003n4znxJ; Sun, 27 Oct 2024 09:08:04 +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 49R983B2005019; Sun, 27 Oct 2024 09:08:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49R983hx005016; Sun, 27 Oct 2024 09:08:03 GMT (envelope-from git) Date: Sun, 27 Oct 2024 09:08:03 GMT Message-Id: <202410270908.49R983hx005016@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: a340b4649621 - main - ix.4: document LOADER TUNABLES List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: a340b4649621f0dbc0607115217889909ce33bd1 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=a340b4649621f0dbc0607115217889909ce33bd1 commit a340b4649621f0dbc0607115217889909ce33bd1 Author: Felix Johnson AuthorDate: 2024-10-27 00:46:41 +0000 Commit: Kevin Bowling CommitDate: 2024-10-27 09:01:35 +0000 ix.4: document LOADER TUNABLES PR: 213026 MFC after: 3 days Co-authored-by: Alexander Ziaee --- 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