Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c65 static struct smt_entry *find_or_alloc_smte(struct smt_data *s, u8 *smac) in find_or_alloc_smte()
67 struct smt_entry *first_free = NULL; in find_or_alloc_smte()
68 struct smt_entry *e, *end; in find_or_alloc_smte()
98 static void t4_smte_free(struct smt_entry *e) in t4_smte_free()
111 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()
242 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac) in cxgb4_smt_alloc_switching()
H A Dsmt.h57 struct smt_entry { struct
69 struct smt_entry smtab[]; argument
73 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac);
74 void cxgb4_smt_release(struct smt_entry *e);
H A Dcxgb4.h1464 struct smt_entry *smt; /* Source Mac Table entry for smac */