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

Function sfc_rx_queue_intr_enable

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

Source from the content-addressed store, hash-verified

1899}
1900
1901static int
1902sfc_rx_queue_intr_enable(struct rte_eth_dev *dev, uint16_t ethdev_qid)
1903{
1904 const struct sfc_adapter_priv *sap = sfc_adapter_priv_by_eth_dev(dev);
1905 struct sfc_adapter_shared *sas = sfc_adapter_shared_by_eth_dev(dev);
1906 sfc_ethdev_qid_t sfc_ethdev_qid = ethdev_qid;
1907 struct sfc_rxq_info *rxq_info;
1908
1909 rxq_info = sfc_rxq_info_by_ethdev_qid(sas, sfc_ethdev_qid);
1910
1911 return sap->dp_rx->intr_enable(rxq_info->dp);
1912}
1913
1914static int
1915sfc_rx_queue_intr_disable(struct rte_eth_dev *dev, uint16_t ethdev_qid)

Callers

nothing calls this directly

Calls 3

Tested by

no test coverage detected