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

Function is_bnxt_in_error

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

Source from the content-addressed store, hash-verified

187static int bnxt_check_fw_ready(struct bnxt *bp);
188
189int is_bnxt_in_error(struct bnxt *bp)
190{
191 if (bp->flags & BNXT_FLAG_FATAL_ERROR)
192 return -EIO;
193 if (bp->flags & BNXT_FLAG_FW_RESET)
194 return -EBUSY;
195
196 return 0;
197}
198
199/***********************/
200

Callers 15

bnxt_dev_info_get_opFunction · 0.85
bnxt_dev_configure_opFunction · 0.85
bnxt_dev_stopFunction · 0.85
bnxt_mac_addr_remove_opFunction · 0.85
bnxt_mac_addr_add_opFunction · 0.85
bnxt_link_update_opFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected