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

Function sfc_adapter_by_eth_dev

dpdk/drivers/net/sfc/sfc.h:322–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322static inline struct sfc_adapter *
323sfc_adapter_by_eth_dev(struct rte_eth_dev *eth_dev)
324{
325 struct sfc_adapter_priv *sap = sfc_adapter_priv_by_eth_dev(eth_dev);
326
327 SFC_ASSERT(rte_eal_process_type() == RTE_PROC_PRIMARY);
328
329 return container_of(sap, struct sfc_adapter, priv);
330}
331
332static inline struct sfc_adapter_shared *
333sfc_sa2shared(struct sfc_adapter *sa)

Callers 15

sfc_ft_decap_setFunction · 0.85
sfc_ft_matchFunction · 0.85
sfc_ft_item_releaseFunction · 0.85
sfc_ft_get_restore_infoFunction · 0.85
sfc_txq_by_dp_txqFunction · 0.85
sfc_mae_flow_queryFunction · 0.85
sfc_rxq_by_dp_rxqFunction · 0.85
sfc_flow_parseFunction · 0.85

Calls 2

rte_eal_process_typeFunction · 0.85

Tested by

no test coverage detected