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

Function bnxt_init_ring_grps

dpdk/drivers/net/bnxt/bnxt_ring.c:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 */
40
41static void bnxt_init_ring_grps(struct bnxt *bp)
42{
43 unsigned int i;
44
45 for (i = 0; i < bp->max_ring_grps; i++)
46 memset(&bp->grp_info[i], (uint8_t)HWRM_NA_SIGNATURE,
47 sizeof(struct bnxt_ring_grp_info));
48}
49
50int bnxt_alloc_ring_grps(struct bnxt *bp)
51{

Callers 1

bnxt_alloc_ring_grpsFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected