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

Function ethdev2adap

dpdk/drivers/net/cxgbe/base/adapter.h:397–400  ·  view source on GitHub ↗

* ethdev2adap - return the adapter structure associated with a rte_eth_dev * @dev: the rte_eth_dev * * Return the struct adapter associated with a rte_eth_dev */

Source from the content-addressed store, hash-verified

395 * Return the struct adapter associated with a rte_eth_dev
396 */
397static inline struct adapter *ethdev2adap(const struct rte_eth_dev *dev)
398{
399 return ethdev2pinfo(dev)->adapter;
400}
401
402#define CXGBE_PCI_REG(reg) rte_read32(reg)
403

Callers 15

cxgbe_validate_fidxondelFunction · 0.85
cxgbe_verify_fidxFunction · 0.85
cxgbe_get_fidxFunction · 0.85
cxgbe_rtef_parse_itemsFunction · 0.85
__cxgbe_flow_createFunction · 0.85
cxgbe_flow_createFunction · 0.85
__cxgbe_flow_destroyFunction · 0.85
cxgbe_flow_destroyFunction · 0.85
__cxgbe_flow_queryFunction · 0.85
cxgbe_flow_queryFunction · 0.85
cxgbe_flow_validateFunction · 0.85
cxgbe_flow_flushFunction · 0.85

Calls 1

ethdev2pinfoFunction · 0.85

Tested by

no test coverage detected