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

Function bnxt_is_primary_func

dpdk/drivers/net/bnxt/bnxt_cpr.c:394–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394bool bnxt_is_primary_func(struct bnxt *bp)
395{
396 if (bp->recovery_info->flags & BNXT_FLAG_PRIMARY_FUNC)
397 return true;
398
399 return false;
400}
401
402bool bnxt_is_recovery_enabled(struct bnxt *bp)
403{

Callers 3

bnxt_handle_async_eventFunction · 0.85
bnxt_fw_reset_cbFunction · 0.85
bnxt_check_fw_healthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected