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

Function sfc_mae_assign_ethdev_mport

dpdk/drivers/net/sfc/sfc_mae.c:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "sfc_service.h"
26
27static int
28sfc_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
37static int
38sfc_mae_assign_entity_mport(struct sfc_adapter *sa,

Callers 1

sfc_mae_attachFunction · 0.85

Calls 2

efx_nic_cfg_getFunction · 0.85

Tested by

no test coverage detected