From nobody Mon Oct 14 16:11:11 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 4XS2KC4Lhrz5YmkN; Mon, 14 Oct 2024 16:11:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XS2KC3qq1z4Vty; Mon, 14 Oct 2024 16:11:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728922271; 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=/exAlDbFDFoFxNcnN3Xekk3bYAx5AaopHXmq80/RtWw=; b=bhD5r76GTDyy+oKjtIbtisUpiy+kbwnCX5+NFW0LKk5zZ8xJ1WF0WoLwbxBV222v7PbAAI siOZyzcO0Txhy3h+awNlAopufx9qQGgnCPTwcpsApiU6a6u5NJul1GvSB8ZBHidtAIoF7O zK52v7Su8pNC6CHnhUEGaO3TxO3Uc/xOEYh0qXEPcdpOsx7U7xgAFK5cwmqjhEl03G5YSf mvdeebJz9pCAPgSSXBldKLE9DctZok+IrQ/H+pGnnWNdu6m9aLddrN1z4VSoVHVbcrZCLU mGhA/RIYxbYd6S0BqXwb60vk4ftlbWVU0ObGQfvJ7RonGyCP80bIe+9G0900ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728922271; 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=/exAlDbFDFoFxNcnN3Xekk3bYAx5AaopHXmq80/RtWw=; b=RCiKy6Md7R4ifhl/TyWYUKaoHWUdcsi2O0aauFCrU/4h5crbmrAGxcVpNloNLFUTJCL3Un QktHJRb30ZVf8fV1vWtql3gF8AAlRYiKEE4MJCRHEjmcihWo96LaNv8I8xt4JjA06m7vzw 2UP1LPee9mME9QkdezehfCQcsadrWwS/W/axc4eAR3p3WHrvLU5i5WiN6uxpH2CE494tEi sDv9BEG7kHGRvQup7RBuoR0QwuIUGUPVdYTEMiu9upk8K6WvPbLqPgxwHEHikLNcVG9j50 VG67hCLKlIfmPL7IV+ENiIVtvAkuDr8+W6WdUa/CWWHcjVlAOVv3TT/WSX2fzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728922271; a=rsa-sha256; cv=none; b=VJUNx0gd1jTKy4qkn8t5voESb/uWHBFFgR5DdfdpwKgXkpAaXoF0Dls61gurXJvePAdqrv 8I964ovrQQ2UrVu0jrABcuMrfmDYFLptQ5IcIqOm+oERqgDUsuv9zx+QPhKQOPr/JAmID5 W/k8DwVSrb6mzT8QysrtQCcw4Tx3RP4yhwi5VugPssyEqLpMhuekWBrM/PzM5rt5OW6vDg DNiG4xJSxKt2a+OoTKBWb95XXVcmpzpT2X4sIcl+Uiogrsj52ksh8O93rz/NQvfsqwfGM1 +MeDRzNZzQlQjKM8Qq3c8wFe0GCZt8g+SM/H2DzZn4Hmx8q5/rOw9HohueSiiw== 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 4XS2KC38Lbzl9Y; Mon, 14 Oct 2024 16:11:11 +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 49EGBB99057646; Mon, 14 Oct 2024 16:11:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49EGBBHD057643; Mon, 14 Oct 2024 16:11:11 GMT (envelope-from git) Date: Mon, 14 Oct 2024 16:11:11 GMT Message-Id: <202410141611.49EGBBHD057643@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: 7763b194d8de - main - igc: txrx function prototype cleanup 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/main X-Git-Reftype: branch X-Git-Commit: 7763b194d8de6fe8034f754064449a7510ca16b9 Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=7763b194d8de6fe8034f754064449a7510ca16b9 commit 7763b194d8de6fe8034f754064449a7510ca16b9 Author: Kevin Bowling AuthorDate: 2024-10-14 16:10:10 +0000 Commit: Kevin Bowling CommitDate: 2024-10-14 16:10:59 +0000 igc: txrx function prototype cleanup Drop variable names of function prototypes since the file is mixed in listing them or not and they fall out of sync. MFC after: 1 week Sponsored by: BBOX.io --- sys/dev/igc/igc_txrx.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/sys/dev/igc/igc_txrx.c b/sys/dev/igc/igc_txrx.c index a95b34702e24..59f4725388ee 100644 --- a/sys/dev/igc/igc_txrx.c +++ b/sys/dev/igc/igc_txrx.c @@ -44,29 +44,27 @@ /********************************************************************* * Local Function prototypes *********************************************************************/ -static int igc_isc_txd_encap(void *arg, if_pkt_info_t pi); -static void igc_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx); -static int igc_isc_txd_credits_update(void *arg, uint16_t txqid, bool clear); +static int igc_isc_txd_encap(void *, if_pkt_info_t); +static void igc_isc_txd_flush(void *, uint16_t, qidx_t); +static int igc_isc_txd_credits_update(void *, uint16_t, bool); -static void igc_isc_rxd_refill(void *arg, if_rxd_update_t iru); +static void igc_isc_rxd_refill(void *, if_rxd_update_t); -static void igc_isc_rxd_flush(void *arg, uint16_t rxqid, uint8_t flid __unused, - qidx_t pidx); -static int igc_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, - qidx_t budget); +static void igc_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); +static int igc_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); -static int igc_isc_rxd_pkt_get(void *arg, if_rxd_info_t ri); +static int igc_isc_rxd_pkt_get(void *, if_rxd_info_t); -static int igc_tx_ctx_setup(struct tx_ring *txr, if_pkt_info_t pi, - uint32_t *cmd_type_len, uint32_t *olinfo_status); -static int igc_tso_setup(struct tx_ring *txr, if_pkt_info_t pi, - uint32_t *cmd_type_len, uint32_t *olinfo_status); +static int igc_tx_ctx_setup(struct tx_ring *, if_pkt_info_t, uint32_t *, + uint32_t *); +static int igc_tso_setup(struct tx_ring *, if_pkt_info_t, uint32_t *, + uint32_t *); -static void igc_rx_checksum(uint32_t staterr, if_rxd_info_t ri, uint32_t ptype); -static int igc_determine_rsstype(uint16_t pkt_info); +static void igc_rx_checksum(uint32_t, if_rxd_info_t, uint32_t); +static int igc_determine_rsstype(uint16_t); -extern void igc_if_enable_intr(if_ctx_t ctx); -extern int igc_intr(void *arg); +extern void igc_if_enable_intr(if_ctx_t); +extern int igc_intr(void *); struct if_txrx igc_txrx = { .ift_txd_encap = igc_isc_txd_encap,