Home
last modified time | relevance | path

Searched refs:smt_entry (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/cxgbe/
H A Dt4_smt.h46 struct smt_entry { struct
60 struct smt_entry smtab[]; argument
66 struct smt_entry *t4_find_or_alloc_sme(struct smt_data *, uint8_t *);
67 struct smt_entry *t4_smt_alloc_switching(struct smt_data *, uint8_t *);
68 int t4_smt_set_switching(struct adapter *, struct smt_entry *,
70 int t4_write_sme(struct smt_entry *);
74 t4_smt_release(struct smt_entry *e) in t4_smt_release()
H A Dt4_smt.c70 struct smt_entry *
73 struct smt_entry *end, *e; in t4_find_or_alloc_sme()
74 struct smt_entry *first_free = NULL; in t4_find_or_alloc_sme()
109 t4_write_sme(struct smt_entry *e) in t4_write_sme()
186 struct smt_entry *
189 struct smt_entry *e; in t4_smt_alloc_switching()
203 t4_smt_set_switching(struct adapter *sc, struct smt_entry *e, uint16_t pfvf, in t4_smt_set_switching()
230 s = malloc(sizeof(*s) + smt_size * sizeof (struct smt_entry), M_CXGBE, in t4_init_smt()
239 struct smt_entry *e = &s->smtab[i]; in t4_init_smt()
275 struct smt_entry *e = &sc->smt->smtab[smtidx]; in do_smt_write_rpl()
[all …]
H A Dt4_filter.c63 struct smt_entry *smt; /* SMT entry for SMAC rewrite */
72 struct l2t_entry *, struct smt_entry *);
634 struct smt_entry *smt) in set_tcamfilter()
911 struct smt_entry *smt = NULL; in set_filter()
1620 struct l2t_entry *l2te, struct smt_entry *smt) in set_hashfilter()