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

Function bnxt_alloc_link_info

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

Source from the content-addressed store, hash-verified

306}
307
308static int bnxt_alloc_link_info(struct bnxt *bp)
309{
310 bp->link_info =
311 rte_zmalloc("bnxt_link_info", sizeof(struct bnxt_link_info), 0);
312 if (bp->link_info == NULL)
313 return -ENOMEM;
314
315 return 0;
316}
317
318static int bnxt_alloc_leds_info(struct bnxt *bp)
319{

Callers 1

bnxt_drv_initFunction · 0.85

Calls 1

rte_zmallocFunction · 0.85

Tested by

no test coverage detected