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

Function txgbevf_intr_disable

dpdk/drivers/net/txgbe/txgbe_ethdev_vf.c:542–557  ·  view source on GitHub ↗

* Virtual Function operations */

Source from the content-addressed store, hash-verified

540 * Virtual Function operations
541 */
542static void
543txgbevf_intr_disable(struct rte_eth_dev *dev)
544{
545 struct txgbe_interrupt *intr = TXGBE_DEV_INTR(dev);
546 struct txgbe_hw *hw = TXGBE_DEV_HW(dev);
547
548 PMD_INIT_FUNC_TRACE();
549
550 /* Clear interrupt mask to stop from interrupts being generated */
551 wr32(hw, TXGBE_VFIMS, TXGBE_VFIMS_MASK);
552
553 txgbe_flush(hw);
554
555 /* Clear mask value. */
556 intr->mask_misc = TXGBE_VFIMS_MASK;
557}
558
559static void
560txgbevf_intr_enable(struct rte_eth_dev *dev)

Callers 4

eth_txgbevf_dev_initFunction · 0.85
txgbevf_dev_stopFunction · 0.85
txgbevf_dev_closeFunction · 0.85

Calls 2

txgbe_flushFunction · 0.85
wr32Function · 0.50

Tested by

no test coverage detected