Skip to content

Commit

Permalink
cxgbe(4): Tidy up t4_l2t.h
Browse files Browse the repository at this point in the history
Align the comment for if_t with the rest and remove the declaration of
t4_l2t_set_switching, which was removed in 061bbaf.

No functional change.

MFC after:	3 days
Sponsored by:	Chelsio Communications
  • Loading branch information
np-2020 committed Jul 17, 2024
1 parent fe0c82a commit b3bbc6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sys/dev/cxgbe/t4_l2t.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 *);

Expand Down

0 comments on commit b3bbc6c

Please sign in to comment.