| 1416 | } |
| 1417 | |
| 1418 | static 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 | |
| 1431 | static void bnxt_ptp_get_current_time(void *arg) |
| 1432 | { |
no test coverage detected