Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/cxgbe/
H A Dsmt.c121 for (e = &s->smtab[0], end = &s->smtab[s->smt_size]; e != end; ++e) { in find_or_alloc_smte()
205 struct smt_data *t4_init_smt(u32 smt_start_idx, u32 smt_size) in t4_init_smt() argument
210 s = t4_alloc_mem(sizeof(*s) + smt_size * sizeof(struct smt_entry)); in t4_init_smt()
215 s->smt_size = smt_size; in t4_init_smt()
218 for (i = 0; i < s->smt_size; ++i) { in t4_init_smt()
H A Dsmt.h31 unsigned int smt_size; member
37 struct smt_data *t4_init_smt(u32 smt_start_idx, u32 smt_size);
H A Dcxgbe_main.c1992 u32 *smt_size) in adap_smt_index() argument
2008 *smt_size = SMT_SIZE; in adap_smt_index()
2016 *smt_size = SMT_SIZE - *smt_start_idx; in adap_smt_index()
2018 *smt_size = smt_val[1]; in adap_smt_index()
2024 u32 smt_start_idx, smt_size; in cxgbe_probe() local
2176 adap_smt_index(adapter, &smt_start_idx, &smt_size); in cxgbe_probe()
2177 adapter->smt = t4_init_smt(smt_start_idx, smt_size); in cxgbe_probe()