From nobody Tue Jan 9 22:16:28 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 4T8ldT0rdxz56bSV; Tue, 9 Jan 2024 22:16:29 +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 4T8ldS5ydsz4GGL; Tue, 9 Jan 2024 22:16:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704838588; 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=bFFHuXcRcOPiB9UWKQnJlLaIyuOC/eQX0OnKBPwWK1I=; b=C8O+CSnLa7SvuyRqv0yyHhJYsCrAOaaColIKph/Bpht4WG2SOuaeLrV2GD3OElNkUJC6zH CFeNtmqFNVXhrsnsVqRMY2331lmjEC8gl7qmFte3cfBPcsci3616SEnXrfm4H+2bujjND7 3zjIv9E6TuudGEmzFMp3m65YLx/LaiprXPuqq37k2aV5jJ/9M9mvpK27TsKACooIysXMli dVw7egF5A6XY6UewyjlK2KM55QLQWmQsXRDjYP9Uh8AWor+20w4wEFpEsoiS24XLJIxfx7 1GI7O7tWm0M0NF0O1LTNyiTgyOwJmZF7/mottUVN8Tmb5rG1jugYHLKqkmMbKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704838588; 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=bFFHuXcRcOPiB9UWKQnJlLaIyuOC/eQX0OnKBPwWK1I=; b=EF8q32bruebvBLORtLpRI3QERk8xIs9aRwEAVWHxzKGxUVu1ZvELed/YQ5m+KJpdrDJMGv a3UMl2KLlX5E4AxNCvcll2PnPA13mtoYP3m50Q/yNtIFETT5pCSXxVck115LN0d5qe+7wP MsBK4kTsRSUr2opZvZ+4fKfDHOX4vN/6AOakUM75MSc55bPbU8rNLuhy3Mgqg+o6uE7GxV 36hOqxWS18kTdjw5j2AT1ShzjcOgTn8EUJSNs2Wo5FHcQFkGPqaXXUomKs6QnxAnVBUMl8 k9GO88W9ZH4BjeDRyYj8J0LblD5swtSjYGcqwHGl3ml6I6xnijSbhfJlps8W7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704838588; a=rsa-sha256; cv=none; b=ojnmd6KCri9F6j55xiLcdk6iLIm5g58H3gPeZszVgL0ey3lbCViigvwL8A2nV2jRt7tOW0 T+RR0mLpcK1FdkbtAHNb+vNLrUPJa+aXbKQBxheYiwRbnhyvjSgDJ+3a5NrKgQzVrxVGik LWF7xuWmuHD0j+SvhXfmlNqr377Lwm5e2GRp47WsuNoeglRbC8qwqH/MLIhwKhAwWpf6mA 9opcYuefMe/nOSTQJcvcSz6t+eMM/xkGfYmJLcQVicQGD41h3dY158BXSYwKZGp93XB5Vd ReMZmBxh9KmI2DNHBys0HAuZ4WWE+3ELR6TI6Jr1Ec+lJyr+Q+0U/Iuy1rDLmA== 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 4T8ldS525Lz17rF; Tue, 9 Jan 2024 22:16:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 409MGSIL019011; Tue, 9 Jan 2024 22:16:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 409MGSc5019008; Tue, 9 Jan 2024 22:16:28 GMT (envelope-from git) Date: Tue, 9 Jan 2024 22:16:28 GMT Message-Id: <202401092216.409MGSc5019008@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Marius Strobl Subject: git: 0d6d28ce5650 - main - e1000(4): Remove disconnected SYSCTL 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: marius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d6d28ce5650d1cd23dbe4bbac87fb103b3e2d3d Auto-Submitted: auto-generated The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=0d6d28ce5650d1cd23dbe4bbac87fb103b3e2d3d commit 0d6d28ce5650d1cd23dbe4bbac87fb103b3e2d3d Author: Marius Strobl AuthorDate: 2024-01-09 21:41:49 +0000 Commit: Marius Strobl CommitDate: 2024-01-09 22:15:44 +0000 e1000(4): Remove disconnected SYSCTL The global hw.em.rx_process_limit knob has been replaced by the device- specific dev.IF.N.iflib.rx_budget along with the conversion to iflib(4). While at it, remove the - besides initialization of tx_process_limit - unused {r,t}x_process_limit members. --- sys/dev/e1000/if_em.c | 11 ----------- sys/dev/e1000/if_em.h | 2 -- 2 files changed, 13 deletions(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 8488f72c4cde..690d6dfa3218 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -542,13 +542,6 @@ static int em_debug_sbp = false; SYSCTL_INT(_hw_em, OID_AUTO, sbp, CTLFLAG_RDTUN, &em_debug_sbp, 0, "Show bad packets in promiscuous mode"); -/* How many packets rxeof tries to clean at a time */ -static int em_rx_process_limit = 100; -SYSCTL_INT(_hw_em, OID_AUTO, rx_process_limit, CTLFLAG_RDTUN, - &em_rx_process_limit, 0, - "Maximum number of received packets to process " - "at a time, -1 means unlimited"); - /* Energy efficient ethernet - default to OFF */ static int eee_setting = 1; SYSCTL_INT(_hw_em, OID_AUTO, eee_setting, CTLFLAG_RDTUN, &eee_setting, 0, @@ -561,8 +554,6 @@ static int em_max_interrupt_rate = 8000; SYSCTL_INT(_hw_em, OID_AUTO, max_interrupt_rate, CTLFLAG_RDTUN, &em_max_interrupt_rate, 0, "Maximum interrupts per second"); - - /* Global used in WOL setup with multiport cards */ static int global_quad_port_a = 0; @@ -832,8 +823,6 @@ em_if_attach_pre(if_ctx_t ctx) sc->media = iflib_get_media(ctx); hw = &sc->hw; - sc->tx_process_limit = scctx->isc_ntxd[0]; - /* Determine hardware and mac info */ em_identify_hardware(ctx); diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h index ebf0be7426a0..244762e8ed0d 100644 --- a/sys/dev/e1000/if_em.h +++ b/sys/dev/e1000/if_em.h @@ -480,8 +480,6 @@ struct e1000_softc { u16 num_vlans; u32 txd_cmd; - u32 tx_process_limit; - u32 rx_process_limit; u32 rx_mbuf_sz; /* Management and WOL features */