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

Function bnxt_alloc_pf_info

dpdk/drivers/net/bnxt/bnxt_ethdev.c:299–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299static int bnxt_alloc_pf_info(struct bnxt *bp)
300{
301 bp->pf = rte_zmalloc("bnxt_pf_info", sizeof(struct bnxt_pf_info), 0);
302 if (bp->pf == NULL)
303 return -ENOMEM;
304
305 return 0;
306}
307
308static int bnxt_alloc_link_info(struct bnxt *bp)
309{

Callers 1

bnxt_drv_initFunction · 0.85

Calls 1

rte_zmallocFunction · 0.85

Tested by

no test coverage detected