From nobody Mon Oct 21 15:24:57 2024 X-Original-To: dev-commits-src-branches@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 4XXJyh3Ypfz5ZPqM; Mon, 21 Oct 2024 15:25:00 +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 4XXJyd4YfBz4q2H; Mon, 21 Oct 2024 15:24:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729524297; 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=3tqDw2Hz/gZrdsZL8fu6c0bHHVNYeVXvd9sy4cFuFGM=; b=G+taSZ14sJysm7oKk1HBadGSXmh2Nms0Y9QknsSxMw60j/fcYsvL6FLX2khsyUdnqo0aXW YHEshgjngTViGlOCOWLZ/17FFu8JsoBthHnWniGFRXSxCUhTcOMaU1kAwonG0cv9MhdV5z iI0xkQt1vhfeM9W7UFQjcJawxqOc1ZKpehUVcED3JIVkxySvIWaWfKPEsmMGbTKIQregJ4 aoBJJSC8EUSKfYTP4BYZJlO214a1zAhR8ArjAWa5d0fMRm4johJDAVWfIDTrgF8IO83fs0 XFXVsEtCTLDAvLMSNzWk0TJ5xx1W0VZ7MJFGvzq8j0EcGF5/qmN2YfIxAaCoEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729524297; 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=3tqDw2Hz/gZrdsZL8fu6c0bHHVNYeVXvd9sy4cFuFGM=; b=gE+dNTryhbanTdQm/3nU4rto950BrxHwGNdfPgIH5gJIfpuLTJVOzRp7vCzAgL2x6dGCG1 GD8vCtuueKgXGYxtP0zIu97qiTE055rsgXJuAFVnyi6ReU7kOwJXrNDEFX5jWImzc9C18M RqiWVtqXFH60zI2lH47nYIsGObWw/qiqVPiZwmEftc1YuW7GgB8pcJcJdTffMBl4L3lfnb GsnxKhGFh/sW4jq7Y3MoqDk1tI/KufpjrtO3Btyys6oXGypux2PJsvrIdMsysC7oWc4Vb4 rEtmxDBY/9AN3XxXf3/qUSme8lVOWYT3LaP7RhZzR/R42Dbe2MtsshyEcNCt9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729524297; a=rsa-sha256; cv=none; b=rZ8OxXpWh5KTG1psfL2XsPejVxUjkjZXdZbg8EmUgTRMOjvOA6zxuBgS60WlYPxZW+lSMX Pjv16LaOFuTJqK61ecoKfFmaVw3eCHK0ma2aJhwaDfTBYj0OtkZeoySH2I4lsbZQpLPG/U QVCxfJ6TAS8xtbDltNzbUFEIW70KmCgNxCbIbmK1ptS4bpL4Ifge0w0/3GeDLnd86gpk3E sOzOxwx1N1NQQfEW8Lqr7M4A6/UcOSJhWNRwx/lEaKgoXYm4rwZWls5g/sC+wtcSVWdocb cshOJKusUEOod6F3uvxKaUl/iEK51GPOaGnK60Dfx8JFGkysuTmFlNFk1yulMw== 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 4XXJyd3TdJzbSW; Mon, 21 Oct 2024 15:24:57 +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 49LFOvtW084169; Mon, 21 Oct 2024 15:24:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LFOvp7084166; Mon, 21 Oct 2024 15:24:57 GMT (envelope-from git) Date: Mon, 21 Oct 2024 15:24:57 GMT Message-Id: <202410211524.49LFOvp7084166@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: fabc189f2adf - stable/13 - igc: txrx function prototype cleanup List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/13 X-Git-Reftype: branch X-Git-Commit: fabc189f2adfe339e713fbb0ee6847baa9f73b64 Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=fabc189f2adfe339e713fbb0ee6847baa9f73b64 commit fabc189f2adfe339e713fbb0ee6847baa9f73b64 Author: Kevin Bowling AuthorDate: 2024-10-14 16:10:10 +0000 Commit: Kevin Bowling CommitDate: 2024-10-21 15:22:08 +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,