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

Function t4_fw_bye

dpdk/drivers/net/cxgbe/base/t4_hw.c:3339–3346  ·  view source on GitHub ↗

* t4_fw_bye - end communication with FW * @adap: the adapter * @mbox: mailbox to use for the FW command * * Issues a command to terminate communication with FW. */

Source from the content-addressed store, hash-verified

3337 * Issues a command to terminate communication with FW.
3338 */
3339int t4_fw_bye(struct adapter *adap, unsigned int mbox)
3340{
3341 struct fw_bye_cmd c;
3342
3343 memset(&c, 0, sizeof(c));
3344 INIT_CMD(c, BYE, WRITE);
3345 return t4_wr_mbox(adap, mbox, &c, sizeof(c), NULL);
3346}
3347
3348/**
3349 * t4_fw_reset - issue a reset to FW

Callers 3

adap_init0Function · 0.85
cxgbe_closeFunction · 0.85
cxgbe_probeFunction · 0.85

Calls 2

memsetFunction · 0.85
t4_wr_mboxFunction · 0.85

Tested by

no test coverage detected