From nobody Mon Oct 21 18:39:03 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 4XXPGb4Yy2z5Zd1l; Mon, 21 Oct 2024 18:39:03 +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 4XXPGb3YD1z4Fcj; Mon, 21 Oct 2024 18:39:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729535943; 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=PxMWUvEJqbaGZyCsL2WOf8SICL93lvwzjktg5MtJjUc=; b=Abuq9/jQpJS+BW52MyLjRdt8UHXId0z2p7RpR60NFr/81N26ddv4PNbzjIvM7n0iAQ8Vit 0vTgWFvaOAz2YtWRnnxw/HNVGKnaoF4PjTBgcaEQYmJ1+9S2BMBLT4E5czrqfmG7jgH8it 5El4YQnIk6AhJnB/8Posh/vo5/LU8mtcLKKOhHxqWWC2y8SHWMMg6UyeqVmFEeMHjybvEb d6mQSN9XvEGuSjpta0l1vYE1b0rBiDfHqVFRT+0wJ0nRZ6fuXAezgLl2F95foNRhVVo9z0 2XF/3HFjCdM6UnmH3YkhhXpDzUinwAXnxSIYbfctmMi3nuj+7xo1dtJXYrT00w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729535943; 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=PxMWUvEJqbaGZyCsL2WOf8SICL93lvwzjktg5MtJjUc=; b=Bj4H+h2G3l2iGk3xxw2TwneooffMt3Y758ryUOQ7Mb/HNanp4xy66C3NLEHwwMlz8jm1xe jluHr+AYWAQdxZ8wTBUmNC583gghGQiAh0a8qvxfXnBYdobXr79wCXo+DLCIJDdYxMuD4D hUrIHhi+bH9xmdRrOehpniD4cAIQLHVC3TWl5ZEkKuq9buQWFICcRi+3vYgIlNFqNjZn2/ yduhRy7TpMmHWl5Ed+E0nGqcCThdA2pxfbxDZAY+yXfMYW9YjAz15nHjOR3/n8mkzjephE Oe39WXUbjtjhhxgpbNbbzaG36wkpPWybu7cdwiBiCqiv18puplSUPTGwkQczlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729535943; a=rsa-sha256; cv=none; b=ad+yGbWEKq/8zW+R1KR/w8LokOEekxeob6yl6ARJgaTg1vuuKvGMrdyejp6qIGDn5mMDK6 /YBDcrAGLIg6k7OlwwmNrKjiMf0DT5uSKKYaxqyqK2/FGygXzVZQrG29VSDAwToW07frlg Z+8W1RqJtK4VsEpeqgRojXXjCQLZ9X0d20+jV8YMOrzMetZFtD0YRp1L+6cBmh8whnHKCj v1xWEPmTFETDHeCWanubuPhUL2T4wrpnl2SCAZAPQ+1YELcmRXdkqBOFAAEBYTCPrwwANX cIzPclNzFJZbJaMcqC+JOAmxe9AZreKWFd5mlRY2D3rw/x9yq4h+XpbN8XzkVg== 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 4XXPGb32lrzhjH; Mon, 21 Oct 2024 18:39:03 +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 49LId36J035768; Mon, 21 Oct 2024 18:39:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LId3iH035765; Mon, 21 Oct 2024 18:39:03 GMT (envelope-from git) Date: Mon, 21 Oct 2024 18:39:03 GMT Message-Id: <202410211839.49LId3iH035765@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Navdeep Parhar Subject: git: 032bd06d9858 - stable/14 - cxgbe(4): Tidy up t4_l2t.h 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: np X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 032bd06d985834b83057b1ca579a87dbe3fe608e Auto-Submitted: auto-generated The branch stable/14 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=032bd06d985834b83057b1ca579a87dbe3fe608e commit 032bd06d985834b83057b1ca579a87dbe3fe608e Author: Navdeep Parhar AuthorDate: 2024-07-17 17:41:37 +0000 Commit: Navdeep Parhar CommitDate: 2024-10-21 16:46:29 +0000 cxgbe(4): Tidy up t4_l2t.h Align the comment for if_t with the rest and remove the declaration of t4_l2t_set_switching, which was removed in 061bbaf7e7fe. No functional change. Sponsored by: Chelsio Communications (cherry picked from commit b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11) --- sys/dev/cxgbe/t4_l2t.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cxgbe/t4_l2t.h b/sys/dev/cxgbe/t4_l2t.h index be6337a60eab..36a41e459a5d 100644 --- a/sys/dev/cxgbe/t4_l2t.h +++ b/sys/dev/cxgbe/t4_l2t.h @@ -64,7 +64,7 @@ struct l2t_entry { uint32_t addr[4]; /* next hop IP or IPv6 address */ uint32_t iqid; /* iqid for reply to write_l2e */ struct sge_wrq *wrq; /* queue to use for write_l2e */ - if_t ifp; /* outgoing interface */ + if_t ifp; /* outgoing interface */ uint16_t smt_idx; /* SMT index */ uint16_t vlan; /* VLAN TCI (id: 0-11, prio: 13-15) */ struct l2t_entry *first; /* start of hash chain */ @@ -94,8 +94,6 @@ struct l2t_entry *t4_l2t_alloc_switching(struct adapter *, uint16_t, uint8_t, uint8_t *); struct l2t_entry *t4_l2t_alloc_tls(struct adapter *, struct sge_txq *, void *, int *, uint16_t, uint8_t, uint8_t *); -int t4_l2t_set_switching(struct adapter *, struct l2t_entry *, uint16_t, - uint8_t, uint8_t *); int t4_write_l2e(struct l2t_entry *, int); int do_l2t_write_rpl(struct sge_iq *, const struct rss_header *, struct mbuf *);