Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
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()
650 atomic_set(&d->nfree, l2t_size); in t4_init_l2t()
653 for (i = 0; i < d->l2t_size; ++i) { in t4_init_l2t()
[all …]