Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c58 unsigned int l2t_size; /* number of entries in l2tab */ member
89 unsigned int l2t_size_half = d->l2t_size / 2; in arp_hash()
97 unsigned int l2t_size_half = d->l2t_size / 2; in ipv6_hash()
272 for (e = d->rover, end = &d->l2tab[d->l2t_size]; e != end; ++e) in alloc_l2e()
304 for (e = &d->l2tab[0], end = &d->l2tab[d->l2t_size]; e != end; ++e) { in find_or_alloc_l2e()
632 unsigned int l2t_size; in t4_init_l2t() local
638 l2t_size = l2t_end - l2t_start + 1; in t4_init_l2t()
639 if (l2t_size < L2T_MIN_HASH_BUCKETS) in t4_init_l2t()
642 d = kvzalloc(struct_size(d, l2tab, l2t_size), GFP_KERNEL); in t4_init_l2t()
647 d->l2t_size = l2t_size; in t4_init_l2t()
[all …]