MCPcopy Create free account
hub / github.com/F-Stack/f-stack / table_footprint

Function table_footprint

dpdk/lib/table/rte_swx_table_em.c:635–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633}
634
635static uint64_t
636table_footprint(struct rte_swx_table_params *params,
637 struct rte_swx_table_entry_list *entries __rte_unused,
638 const char *args)
639{
640 uint64_t memory_footprint;
641 int status;
642
643 status = __table_create(NULL, &memory_footprint, params, args, 0);
644 if (status)
645 return 0;
646
647 return memory_footprint;
648}
649
650struct rte_swx_table_ops rte_swx_table_exact_match_unoptimized_ops = {
651 .footprint_get = table_footprint,

Callers

nothing calls this directly

Calls 1

__table_createFunction · 0.85

Tested by

no test coverage detected