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

Function ixgbe_enable_intr

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

Source from the content-addressed store, hash-verified

830}
831
832static inline void
833ixgbe_enable_intr(struct rte_eth_dev *dev)
834{
835 struct ixgbe_interrupt *intr =
836 IXGBE_DEV_PRIVATE_TO_INTR(dev->data->dev_private);
837 struct ixgbe_hw *hw =
838 IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);
839
840 IXGBE_WRITE_REG(hw, IXGBE_EIMS, intr->mask);
841 IXGBE_WRITE_FLUSH(hw);
842}
843
844/*
845 * This function is based on ixgbe_disable_intr() in base/ixgbe.h.

Callers 6

eth_ixgbe_dev_initFunction · 0.85
ixgbe_dev_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected