Skip to content

Commit 12d2303

Browse files
Jijie Shaokuba-moo
authored andcommitted
net: hibmcge: fix rx buf avl irq is not re-enabled in irq_handle issue
irq initialized with the macro HBG_ERR_IRQ_I will automatically be re-enabled, whereas those initialized with the macro HBG_IRQ_I will not be re-enabled. Since the rx buf avl irq is initialized using the macro HBG_IRQ_I, it needs to be actively re-enabled; otherwise priv->stats.rx_fifo_less_empty_thrsld_cnt cannot be correctly incremented. Fixes: fd394a3 ("net: hibmcge: Add support for abnormal irq handling feature") Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20251025014642.265259-2-shaojijie@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 40c17a0 commit 12d2303

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/ethernet/hisilicon/hibmcge

drivers/net/ethernet/hisilicon/hibmcge/hbg_irq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ static void hbg_irq_handle_rx_buf_val(struct hbg_priv *priv,
3232
const struct hbg_irq_info *irq_info)
3333
{
3434
priv->stats.rx_fifo_less_empty_thrsld_cnt++;
35+
hbg_hw_irq_enable(priv, irq_info->mask, true);
3536
}
3637

3738
#define HBG_IRQ_I(name, handle) \

0 commit comments

Comments
 (0)