From nobody Wed Jul 17 18:19:49 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 4WPPNj4JRLz5Rr9s; Wed, 17 Jul 2024 18:19:49 +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 4WPPNj3bqBz4SrR; Wed, 17 Jul 2024 18:19:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721240389; 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=EjX9c4CIg6X0eNfHA8mLLUVoYZd7H0073lcRJkBD/NI=; b=U9Lfo+hjm3hTr8P2KUhJ2vq4dEEnSZoLZqLUCvUB53TV7p4PS7aOS2wpu5ZV955/xprr3l VoTw9xvwVJsA5XzKCz40dBsTILuNLfQr3xvO2mS2UZyKR6u0LrHXq0vAbt3C7SZYxF/qqR d0A04IMnlriD6vkLf9+TRbBt6g30YB8NbRyLs1DferH6uV1H5qMf3IgFJjgatk4yJhB1dM 0bmJcPg/mMzLjcNUHZs5VbEMqrqcabacQb8UvkPONg1VGSow3h0V8P5l/HiX3LmY46ehcX +XKwO2eeMXCoLoKF97NrVor+e0RURaKav5ug0mCKsROrMXRuKcQBYFn7W8rgpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721240389; a=rsa-sha256; cv=none; b=QiXrXUzlnklwBYR0/rs4R9oF+S1qHd+ain5i4PSiv7gB+rAFDOLCvp2Czn9dPBJMxMuFX4 5TW90bWAHdFsczdS4JnodSwEl+QJ56q6DRmyVNZKbH0sEKa6Nc/wVnFA53tmJJdykQw83r /8WYAt4iY8uUKc4z4rr+/nmbdVelokUV7PxIoeIcjszmJZwa+lzYBQcHq1B8dymzucg0Xn rIjCXrFMJgUjfo9IgYDxj4DbIjy6iUqhf/z0aswlymONCmDwCLq0dYvsoZodqKXAvPCi/t KBL2IyCn28QVtjUD5nvCjR9Ca4fa0VAetgVdvOtWy6QNguXI7MuFnOfASXexyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721240389; 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=EjX9c4CIg6X0eNfHA8mLLUVoYZd7H0073lcRJkBD/NI=; b=x2amFi8ekDT+PlmGwIxyjfbybLCbOnDG+dbBQnkL7jSSeSEYNT6eXGbEOjf4aAB/VYssIX +83O59P8tYC7yWKh4MG3I7nCGI9yivuESK/v3kbZV9FFcQpus7HJjTh+f3p+29AmTnSzPe 9p1U73Tj7V3TGW3wonwRH2zrN9EXO3UBVqHAtsrnS9gvQ+wUmXTlTKcGjuVj3ztW6227Uk XLZh6Z55c1bFFUWzs4K/mQ5AEh7hk/tgTBM5ufPg7J/Q/BnC+9jRL0HaXCiIeXTzepQfwq i05REmhXpTD1gIhZmdv26UJHJ1skzprZU/J/tmL7njZI8tmTW2lXwpvkFGiYaA== 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 4WPPNj35p9zFg8; Wed, 17 Jul 2024 18:19:49 +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 46HIJnkv023299; Wed, 17 Jul 2024 18:19:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46HIJnLL023296; Wed, 17 Jul 2024 18:19:49 GMT (envelope-from git) Date: Wed, 17 Jul 2024 18:19:49 GMT Message-Id: <202407171819.46HIJnLL023296@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: b3bbc6cc79a3 - main - cxgbe(4): Tidy up t4_l2t.h 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11 Auto-Submitted: auto-generated The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11 commit b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11 Author: Navdeep Parhar AuthorDate: 2024-07-17 17:41:37 +0000 Commit: Navdeep Parhar CommitDate: 2024-07-17 17:53:16 +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. MFC after: 3 days Sponsored by: Chelsio Communications --- 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 *);