From nobody Tue May 09 08:02:33 2023 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 4QFrHF59mRz49sKv; Tue, 9 May 2023 08:02:33 +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 4QFrHF4Tsyz3x7R; Tue, 9 May 2023 08:02:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683619353; 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=dNDF1mWTjMl6gRf1hPgMJdEV7Dyz9cvjA6eYjoY721E=; b=nnfsGIDDv8Lk+ElYEJb+H6KAe9VRzx96s0vHdld/1rG+XfxlD0kaIcXxyhYA7GrWV2xwN8 Sj5KPqhA/s6cv7yuHiyPBqU9phiF19mRi5RdXprgJAzeWYcz4Y2oLmgtUxfNEnutuVjQw5 HjyhtFRFLN24h738jxpQJl8lNDzGwvWHxpWG7qBVSSMg7Be8AeZJ9yANRNmZQ9TRx19NPn OFjuKEVYtzuhva3ymg8NqRrxCeQsL9pSfnpgv2HymZ+fRzrqM2hL0KGmLGGxO9a3LDZzYo EXnnXPDS14fRhnbdXDqnBlNYs6S9O6uXkt81Lys9P22hfUSNmsXjFe4zEMsSEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683619353; 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=dNDF1mWTjMl6gRf1hPgMJdEV7Dyz9cvjA6eYjoY721E=; b=N/9+NgFuD2LnEHUxwkgkqJXSL+jHGsSbnT/89/ahftYZIpcCReEvYzt4+6npn0zPq8+1zx N7j3YYCYeK7Y/HaZkTkcBshGtVT1LdwEX42lMr7pok8M6TNhRn1eCe6Dno4oFw9lQfNTcn b/G+wg9KovWJmvvFZzfhGnvL6WAgs6ixVVGe+5pBF53iSpOkVCxq2fDk/hGd1R/IFG2fYI ZhaHLpQApFxZtD5s3taZxU9oXPFXsetnf81wrLABer2UdXnyYdKwFqqLY5Wt5CPiQajhdq kjU9Q3bG+mibvyeg2gsf8DDpokPSuDOgKQ+L7EAdMNerDcyWUComqTdnwtQoFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683619353; a=rsa-sha256; cv=none; b=yhs1VeuyyIN3oUo9V7ZwQ/3xu99ZRBbHiqz0+OPM6gZV7JAKx6Lk096tAdyQFdy6+4MCZu DS6IszbiopIQyv6pdgWE95wEEkjwBpRdzpgXhBe4WT1voziomwNFlKtEtrgEoFIgB2MQsU +m9578T6g3TKNg1Tq8TGfmk5mThlGILng79k9nD0HOXzc7zlEhd49uC9zsqVW/uaJlBY4y YViLDaIizLM8Nc/lWGslpKcFJOabkW7Ur//4SY4bgQQBaHbEe8+k/qJDjfP1SMhCUcAomv OBRkgoutuRXsUyXSGU6cQpEAGAInl1lRfe4rqIIS8W6jIrQ97ih5Brupl6HDiA== 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 4QFrHF3XmqzKmP; Tue, 9 May 2023 08:02:33 +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 34982Xva089977; Tue, 9 May 2023 08:02:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34982XdJ089976; Tue, 9 May 2023 08:02:33 GMT (envelope-from git) Date: Tue, 9 May 2023 08:02:33 GMT Message-Id: <202305090802.34982XdJ089976@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Yuri Pankov Subject: git: b0cf48305f7f - main - em(4): update sysctl list, mention iflib(4) 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuripv X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b0cf48305f7fcd6b134b1bae8597ad432e80f2e1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuripv: URL: https://cgit.FreeBSD.org/src/commit/?id=b0cf48305f7fcd6b134b1bae8597ad432e80f2e1 commit b0cf48305f7fcd6b134b1bae8597ad432e80f2e1 Author: Yuri Pankov AuthorDate: 2023-05-09 08:00:32 +0000 Commit: Yuri Pankov CommitDate: 2023-05-09 08:00:32 +0000 em(4): update sysctl list, mention iflib(4) Some of the settings, e.g. disabling/enabling msix, are now handled as generic iflib variables; mention iflib explicitly in tunables section (in addition to SEE ALSO). Reviewed by: cc, gbe (manpages) Differential Revision: https://reviews.freebsd.org/D39999 --- share/man/man4/em.4 | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/share/man/man4/em.4 b/share/man/man4/em.4 index a1fa22c2d0d3..c4395a89699b 100644 --- a/share/man/man4/em.4 +++ b/share/man/man4/em.4 @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 30, 2019 +.Dd May 8, 2023 .Dt EM 4 .Os .Sh NAME @@ -215,6 +215,9 @@ Tunables can be set at the .Xr loader 8 prompt before booting the kernel or stored in .Xr loader.conf 5 . +See +.Xr iflib 4 +for per-instance variables. .Bl -tag -width indent .It Va hw.em.disable_crc_stripping Disable or enable hardware stripping of CRC field. @@ -224,27 +227,12 @@ Default 0 (enabled). .It Va hw.em.eee_setting Disable or enable Energy Efficient Ethernet. Default 1 (disabled). -.It Va hw.em.msix -Enable or disable MSI-X style interrupts. -Default 1 (enabled). .It Va hw.em.smart_pwr_down Enable or disable smart power down features on newer adapters. Default 0 (disabled). .It Va hw.em.sbp Show bad packets when in promiscuous mode. Default 0 (off). -.It Va hw.em.rxd -Number of receive descriptors allocated by the driver. -The default value is 1024 for adapters newer than 82547, -and 256 for older ones. -The 82542 and 82543-based adapters can handle up to 256 descriptors, -while others can have up to 4096. -.It Va hw.em.txd -Number of transmit descriptors allocated by the driver. -The default value is 1024 for adapters newer than 82547, -and 256 for older ones. -The 82542 and 82543-based adapters can handle up to 256 descriptors, -while others can have up to 4096. .It Va hw.em.rx_int_delay This value delays the generation of receive interrupts in units of 1.024 microseconds. @@ -264,6 +252,12 @@ If .Va hw.em.tx_int_delay is non-zero, this tunable limits the maximum delay in which a transmit interrupt is generated. +.It Va hw.em.max_interrupt_rate +Maximum interrupts per second. +The default value is 8000. +.It Va hw.em.rx_process_limit +Maximum number of received packets to process at a time, -1 means unlimited. +The default value is 100. .El .Sh FILES .Bl -tag -width /dev/led/em*