Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2024 18:19:49 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b3bbc6cc79a3 - main - cxgbe(4): Tidy up t4_l2t.h
Message-ID:  <202407171819.46HIJnLL023296@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11

commit b3bbc6cc79a3b76d342b2a8fd68e5266eb50ff11
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-07-17 17:41:37 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
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 *);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407171819.46HIJnLL023296>