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

Function bnxt_free_switch_domain

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

Source from the content-addressed store, hash-verified

1416}
1417
1418static void bnxt_free_switch_domain(struct bnxt *bp)
1419{
1420 int rc = 0;
1421
1422 if (!(BNXT_PF(bp) || BNXT_VF_IS_TRUSTED(bp)))
1423 return;
1424
1425 rc = rte_eth_switch_domain_free(bp->switch_domain_id);
1426 if (rc)
1427 PMD_DRV_LOG(ERR, "free switch domain:%d fail: %d\n",
1428 bp->switch_domain_id, rc);
1429}
1430
1431static void bnxt_ptp_get_current_time(void *arg)
1432{

Callers 1

bnxt_uninit_resourcesFunction · 0.85

Calls 1

Tested by

no test coverage detected