Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_lpm.c425 struct rte_lpm_tbl_entry *tbl8_entry; in tbl8_alloc() local
429 tbl8_entry = &tbl8[group_idx * RTE_LPM_TBL8_GROUP_NUM_ENTRIES]; in tbl8_alloc()
431 if (!tbl8_entry->valid_group) { in tbl8_alloc()
439 memset(&tbl8_entry[0], 0, in tbl8_alloc()
441 sizeof(tbl8_entry[0])); in tbl8_alloc()
443 __atomic_store(tbl8_entry, &new_tbl8_entry, in tbl8_alloc()
/f-stack/dpdk/lib/librte_lpm/
H A Drte_lpm.c503 struct rte_lpm_tbl_entry *tbl8_entry; in _tbl8_alloc() local
507 tbl8_entry = &i_lpm->lpm.tbl8[group_idx * in _tbl8_alloc()
510 if (!tbl8_entry->valid_group) { in _tbl8_alloc()
518 memset(&tbl8_entry[0], 0, in _tbl8_alloc()
520 sizeof(tbl8_entry[0])); in _tbl8_alloc()
522 __atomic_store(tbl8_entry, &new_tbl8_entry, in _tbl8_alloc()