| 25 | #include "sfc_service.h" |
| 26 | |
| 27 | static int |
| 28 | sfc_mae_assign_ethdev_mport(struct sfc_adapter *sa, |
| 29 | efx_mport_sel_t *mportp) |
| 30 | { |
| 31 | const efx_nic_cfg_t *encp = efx_nic_cfg_get(sa->nic); |
| 32 | |
| 33 | return efx_mae_mport_by_pcie_function(encp->enc_pf, encp->enc_vf, |
| 34 | mportp); |
| 35 | } |
| 36 | |
| 37 | static int |
| 38 | sfc_mae_assign_entity_mport(struct sfc_adapter *sa, |
no test coverage detected