Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c442 struct l2t_data *t3_init_l2t(unsigned int l2t_capacity) in t3_init_l2t() argument
445 int i, size = sizeof(*d) + l2t_capacity * sizeof(struct l2t_entry); in t3_init_l2t()
451 d->nentries = l2t_capacity; in t3_init_l2t()
453 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()
456 for (i = 0; i < l2t_capacity; ++i) { in t3_init_l2t()
Dl2t.h117 struct l2t_data *t3_init_l2t(unsigned int l2t_capacity);
Dcxgb3_offload.c1248 unsigned int l2t_capacity; in cxgb3_offload_activate() local
1257 dev->ctl(dev, GET_L2T_CAPACITY, &l2t_capacity) < 0 || in cxgb3_offload_activate()
1264 RCU_INIT_POINTER(dev->l2opt, t3_init_l2t(l2t_capacity)); in cxgb3_offload_activate()