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

Function sfc_mcdi_init

dpdk/drivers/net/sfc/sfc_mcdi.c:62–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62int
63sfc_mcdi_init(struct sfc_adapter *sa)
64{
65 uint32_t logtype;
66
67 sfc_log_init(sa, "entry");
68
69 logtype = sfc_register_logtype(&sa->priv.shared->pci_addr,
70 SFC_LOGTYPE_MCDI_STR,
71 RTE_LOG_NOTICE);
72
73 return sfc_efx_mcdi_init(&sa->mcdi, logtype,
74 sa->priv.shared->log_prefix, sa->nic,
75 &sfc_mcdi_ops, sa);
76}
77
78void
79sfc_mcdi_fini(struct sfc_adapter *sa)

Callers 1

sfc_probeFunction · 0.85

Calls 2

sfc_register_logtypeFunction · 0.85
sfc_efx_mcdi_initFunction · 0.85

Tested by

no test coverage detected