| 365 | } |
| 366 | |
| 367 | void |
| 368 | sfc_port_stop(struct sfc_adapter *sa) |
| 369 | { |
| 370 | sfc_log_init(sa, "entry"); |
| 371 | |
| 372 | efx_mac_drain(sa->nic, B_TRUE); |
| 373 | |
| 374 | (void)efx_mac_stats_periodic(sa->nic, &sa->port.mac_stats_dma_mem, |
| 375 | 0, B_FALSE); |
| 376 | |
| 377 | sfc_port_update_mac_stats(sa, B_TRUE); |
| 378 | |
| 379 | efx_port_fini(sa->nic); |
| 380 | efx_filter_fini(sa->nic); |
| 381 | |
| 382 | sfc_log_init(sa, "done"); |
| 383 | } |
| 384 | |
| 385 | int |
| 386 | sfc_port_configure(struct sfc_adapter *sa) |
no test coverage detected