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

Function ngbe_enable_intr

dpdk/drivers/net/ngbe/ngbe_ethdev.c:278–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278static inline void
279ngbe_enable_intr(struct rte_eth_dev *dev)
280{
281 struct ngbe_interrupt *intr = ngbe_dev_intr(dev);
282 struct ngbe_hw *hw = ngbe_dev_hw(dev);
283
284 wr32(hw, NGBE_IENMISC, intr->mask_misc);
285 wr32(hw, NGBE_IMC(0), intr->mask & BIT_MASK32);
286 ngbe_flush(hw);
287}
288
289static void
290ngbe_disable_intr(struct ngbe_hw *hw)

Callers 4

eth_ngbe_dev_initFunction · 0.85
ngbe_dev_startFunction · 0.85

Calls 3

ngbe_dev_intrFunction · 0.85
ngbe_dev_hwFunction · 0.85
wr32Function · 0.50

Tested by

no test coverage detected