Searched refs:l2t_entry (Results 1 – 3 of 3) sorted by relevance
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | l2t.c | 15 void cxgbe_l2t_release(struct l2t_entry *e) in cxgbe_l2t_release() 40 struct l2t_entry *e = &d->l2tab[l2t_idx - d->l2t_start]; in cxgbe_do_l2t_write_rpl() 53 static int write_l2e(struct rte_eth_dev *dev, struct l2t_entry *e, int sync, in write_l2e() 108 static struct l2t_entry *find_or_alloc_l2e(struct l2t_data *d, u16 vlan, in find_or_alloc_l2e() 111 struct l2t_entry *end, *e; in find_or_alloc_l2e() 112 struct l2t_entry *first_free = NULL; in find_or_alloc_l2e() 141 static struct l2t_entry *t4_l2t_alloc_switching(struct rte_eth_dev *dev, in t4_l2t_alloc_switching() 147 struct l2t_entry *e; in t4_l2t_alloc_switching() 184 struct l2t_entry *cxgbe_l2t_alloc_switching(struct rte_eth_dev *dev, u16 vlan, in cxgbe_l2t_alloc_switching() 203 d = t4_os_alloc(sizeof(*d) + l2t_size * sizeof(struct l2t_entry)); in t4_init_l2t()
|
| H A D | l2t.h | 26 struct l2t_entry { struct 40 struct l2t_entry l2tab[0]; /* MUST BE LAST */ argument 53 struct l2t_entry *cxgbe_l2t_alloc_switching(struct rte_eth_dev *dev, u16 vlan, 55 void cxgbe_l2t_release(struct l2t_entry *e);
|
| H A D | cxgbe_filter.h | 187 struct l2t_entry *l2t; /* Layer Two Table entry for dmac */
|