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

Function ixgbevf_intr_disable

dpdk/drivers/net/ixgbe/ixgbe_ethdev.c:5388–5405  ·  view source on GitHub ↗

* Virtual Function operations */

Source from the content-addressed store, hash-verified

5386 * Virtual Function operations
5387 */
5388static void
5389ixgbevf_intr_disable(struct rte_eth_dev *dev)
5390{
5391 struct ixgbe_interrupt *intr =
5392 IXGBE_DEV_PRIVATE_TO_INTR(dev->data->dev_private);
5393 struct ixgbe_hw *hw =
5394 IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);
5395
5396 PMD_INIT_FUNC_TRACE();
5397
5398 /* Clear interrupt mask to stop from interrupts being generated */
5399 IXGBE_WRITE_REG(hw, IXGBE_VTEIMC, IXGBE_VF_IRQ_CLEAR_MASK);
5400
5401 IXGBE_WRITE_FLUSH(hw);
5402
5403 /* Clear mask value. */
5404 intr->mask = 0;
5405}
5406
5407static void
5408ixgbevf_intr_enable(struct rte_eth_dev *dev)

Callers 3

eth_ixgbevf_dev_initFunction · 0.85
ixgbevf_dev_stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected