Lines Matching refs:smt_entry
50 s = kvzalloc(sizeof(*s) + smt_size * sizeof(struct smt_entry), in t4_init_smt()
66 static struct smt_entry *find_or_alloc_smte(struct smt_data *s, u8 *smac) in find_or_alloc_smte()
68 struct smt_entry *first_free = NULL; in find_or_alloc_smte()
69 struct smt_entry *e, *end; in find_or_alloc_smte()
99 static void t4_smte_free(struct smt_entry *e) in t4_smte_free()
113 void cxgb4_smt_release(struct smt_entry *e) in cxgb4_smt_release()
126 struct smt_entry *e = &s->smtab[smtidx]; in do_smt_write_rpl()
138 static int write_smt_entry(struct adapter *adapter, struct smt_entry *e) in write_smt_entry()
209 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching()
213 struct smt_entry *e; in t4_smt_alloc_switching()
241 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac) in cxgb4_smt_alloc_switching()