Searched refs:smt_entry (Results 1 – 3 of 3) sorted by relevance
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()[all …]
57 struct smt_entry { struct69 struct smt_entry smtab[0]; argument73 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac);74 void cxgb4_smt_release(struct smt_entry *e);
1220 struct smt_entry *smt; /* Source Mac Table entry for smac */