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

Function sfc_pool_ops_supported

dpdk/drivers/net/sfc/sfc_ethdev.c:1886–1899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1884}
1885
1886static int
1887sfc_pool_ops_supported(struct rte_eth_dev *dev, const char *pool)
1888{
1889 const struct sfc_adapter_priv *sap = sfc_adapter_priv_by_eth_dev(dev);
1890
1891 /*
1892 * If Rx datapath does not provide callback to check mempool,
1893 * all pools are supported.
1894 */
1895 if (sap->dp_rx->pool_ops_supported == NULL)
1896 return 1;
1897
1898 return sap->dp_rx->pool_ops_supported(pool);
1899}
1900
1901static int
1902sfc_rx_queue_intr_enable(struct rte_eth_dev *dev, uint16_t ethdev_qid)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected