| 5154 | } |
| 5155 | |
| 5156 | static int bnxt_restore_dflt_mac(struct bnxt *bp) |
| 5157 | { |
| 5158 | int rc = 0; |
| 5159 | |
| 5160 | /* MAC is already configured in FW */ |
| 5161 | if (BNXT_HAS_DFLT_MAC_SET(bp)) |
| 5162 | return 0; |
| 5163 | |
| 5164 | /* Restore the old MAC configured */ |
| 5165 | rc = bnxt_hwrm_set_mac(bp); |
| 5166 | if (rc) |
| 5167 | PMD_DRV_LOG(ERR, "Failed to restore MAC address\n"); |
| 5168 | |
| 5169 | return rc; |
| 5170 | } |
| 5171 | |
| 5172 | static void bnxt_config_vf_req_fwd(struct bnxt *bp) |
| 5173 | { |
no test coverage detected