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

Function i40e_pf_config_irq0

dpdk/drivers/net/i40e/i40e_ethdev.c:6675–6688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6673}
6674
6675static void
6676i40e_pf_config_irq0(struct i40e_hw *hw, bool no_queue)
6677{
6678 /* read pending request and disable first */
6679 i40e_pf_disable_irq0(hw);
6680 I40E_WRITE_REG(hw, I40E_PFINT_ICR0_ENA, I40E_PFINT_ICR0_ENA_MASK);
6681 I40E_WRITE_REG(hw, I40E_PFINT_STAT_CTL0,
6682 I40E_PFINT_STAT_CTL0_OTHER_ITR_INDX_MASK);
6683
6684 if (no_queue)
6685 /* Link no queues with irq0 */
6686 I40E_WRITE_REG(hw, I40E_PFINT_LNKLST0,
6687 I40E_PFINT_LNKLST0_FIRSTQ_INDX_MASK);
6688}
6689
6690static void
6691i40e_dev_handle_vfr_event(struct rte_eth_dev *dev)

Callers 2

eth_i40e_dev_initFunction · 0.85
i40e_dev_startFunction · 0.85

Calls 1

i40e_pf_disable_irq0Function · 0.85

Tested by

no test coverage detected