Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c443 struct l2t_data *t3_init_l2t(unsigned int l2t_capacity) in t3_init_l2t() argument
448 d = kvzalloc(struct_size(d, l2tab, l2t_capacity), GFP_KERNEL); in t3_init_l2t()
452 d->nentries = l2t_capacity; in t3_init_l2t()
454 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()
457 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.c1224 unsigned int l2t_capacity; in cxgb3_offload_activate() local
1234 dev->ctl(dev, GET_L2T_CAPACITY, &l2t_capacity) < 0 || in cxgb3_offload_activate()
1241 l2td = t3_init_l2t(l2t_capacity); in cxgb3_offload_activate()