Lines Matching refs:l2t_entry
61 struct l2t_entry *rover; /* starting point for next allocation */
62 struct l2t_entry l2tab[]; /* MUST BE LAST */
65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio()
70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold()
118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq()
126 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace()
138 static int write_l2e(struct adapter *adap, struct l2t_entry *e, int sync) in write_l2e()
173 static void send_pending(struct adapter *adap, struct l2t_entry *e) in send_pending()
200 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in do_l2t_write_rpl()
216 static inline void arpq_enqueue(struct l2t_entry *e, struct sk_buff *skb) in arpq_enqueue()
222 struct l2t_entry *e) in cxgb4_l2t_send()
264 static struct l2t_entry *alloc_l2e(struct l2t_data *d) in alloc_l2e()
266 struct l2t_entry *end, *e, **p; in alloc_l2e()
298 static struct l2t_entry *find_or_alloc_l2e(struct l2t_data *d, u16 vlan, in find_or_alloc_l2e()
301 struct l2t_entry *end, *e, **p; in find_or_alloc_l2e()
302 struct l2t_entry *first_free = NULL; in find_or_alloc_l2e()
351 static void _t4_l2e_free(struct l2t_entry *e) in _t4_l2e_free()
368 static void t4_l2e_free(struct l2t_entry *e) in t4_l2e_free()
386 void cxgb4_l2t_release(struct l2t_entry *e) in cxgb4_l2t_release()
397 static void reuse_entry(struct l2t_entry *e, struct neighbour *neigh) in reuse_entry()
415 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, in cxgb4_l2t_get()
421 struct l2t_entry *e; in cxgb4_l2t_get()
475 const struct l2t_entry *l2t) in cxgb4_select_ntuple()
516 struct l2t_entry *e; in t4_l2t_update()
577 struct l2t_entry *t4_l2t_alloc_switching(struct adapter *adap, u16 vlan, in t4_l2t_alloc_switching()
581 struct l2t_entry *e; in t4_l2t_alloc_switching()
621 struct l2t_entry *cxgb4_l2t_alloc_switching(struct net_device *dev, u16 vlan, in cxgb4_l2t_alloc_switching()
686 static char l2e_state(const struct l2t_entry *e) in l2e_state()
700 bool cxgb4_check_l2t_valid(struct l2t_entry *e) in cxgb4_check_l2t_valid()
719 struct l2t_entry *e = v; in l2t_seq_show()