From nobody Mon Oct 21 15:11:17 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 4XXJfv5FDzz5ZPGK; Mon, 21 Oct 2024 15:11:19 +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 4XXJft0y8Mz4ldk; Mon, 21 Oct 2024 15:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729523478; 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=UrGdtDfmzXQC+82zjR0bJI2qN5Pl3/OrxeAPS72OhU8=; b=UFKfzYTLk5N59+irDWJPLzxc1hzkuR3hHc6F5lNPqSDHg9Or4zBKxW6OZB0dSDM4ZGlndJ O41ysS2FGEmmHo48PNuU3KV+CMeDqk6slaLlyEruSXt0x0seLh37R6BzH1v9Fmxun6GegA YPzW5epftLU4DoeXuL52+loj8a4gJk+JZOAYLTXhwDbiBGGFKJacN6tErSnKdHJXewEqAn zBQeHxzWTiBBvGKyvToMPkE6cgruWnuGnbwRt1CbRChb8XjsuoJqS5EsiVbGv2y2OVZh4j KvumsqOV3GSr5Oa6VbKgLsP9SgiCw5D69KKsPYpaVcx9ROS7PDvpGJ8myKWzRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729523478; 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=UrGdtDfmzXQC+82zjR0bJI2qN5Pl3/OrxeAPS72OhU8=; b=DJWHOrNgG8zmjy5pW0K3dhNoYC++jFm/mmt1e4kDfSX48U8vStrQz2vIfgEIeFDPX7ERRF 5VDHtwW6wtMGWFedB5UTVwFYPDgJol5IP0xcwNaTg1LvKDTBzxBjIhZCnH301WQowBu3b6 TzOtfaKnYuHX2EqpkmrhwqUUikcyBuGWNWrw1BOtv3rirGbWwCN9vIZSECGW0E4hJ109yg Lz4TB5j0NidW1Xjarw+GQNOaZnuCLYBT9TDfbNgEv1BfyOd3EhmtCWOc9uMBMQKr/RHHrC ygpx6owbNgl3kGLAtbWwGYq7nqt/Hmd8JaeLrENm4IYZgOTmQesYQjo/S3CHYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729523478; a=rsa-sha256; cv=none; b=ZGHa0hnorvxFr/2vyK7J49VNm4QzY2sE+lIERm+owBQdTH1MNAnZtxzyZvoIVGFWwKJNIE /H/xNunIwDk03dIzysHebyl8A9I71V0VzV085DkJITdJ4Qrmnh/B/jUDPnDr54sZm86FTA ID+0Z7AY9VHcgQQilA8W6j3lnTo5TlYOBCkqMqNaS9b0I+sMcst1yMIs1GyTUAaehPfkJU 9pqAzGWkJy9BIncZaf/Rw0g1jpHnAfi4fMnH/psjkVNczLtsdxpZHC5GqqlCsy7gZ4gHMH 8fH/PgCkyyfWFMJozphNLph8w/gDn5amTptjFoD5XW/CPxXtdlygEqKPLNqEyQ== 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 4XXJfs2V0YzbP2; Mon, 21 Oct 2024 15:11:17 +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 49LFBHtB060710; Mon, 21 Oct 2024 15:11:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LFBHPo060707; Mon, 21 Oct 2024 15:11:17 GMT (envelope-from git) Date: Mon, 21 Oct 2024 15:11:17 GMT Message-Id: <202410211511.49LFBHPo060707@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: 4608b5f80d29 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 4608b5f80d29ecc414e490e75c44433b2c00f557 Auto-Submitted: auto-generated The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=4608b5f80d29ecc414e490e75c44433b2c00f557 commit 4608b5f80d29ecc414e490e75c44433b2c00f557 Author: Kevin Bowling AuthorDate: 2024-10-14 16:10:10 +0000 Commit: Kevin Bowling CommitDate: 2024-10-21 15:10:57 +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. Sponsored by: BBOX.io (cherry picked from commit 7763b194d8de6fe8034f754064449a7510ca16b9) --- 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,