net: ngbe: correct misleading interrupt comment

In ngbe_irq_enable(), the code subsequently calls wx_intr_enable() to
enable interrupts. However, the preceding comment incorrectly stated
"mask interrupt", which means disabling or blocking interrupts.

This patch corrects the comment to "unmask interrupt" to accurately
reflect the actual behavior of the code. No functional changes are
introduced.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/147244C2750FF990+20260730065409.50807-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Jiawen Wu
2026-07-30 14:54:09 +08:00
committed by Jakub Kicinski
parent 8c7badd19e
commit d661abdc30

View File

@@ -177,7 +177,7 @@ static void ngbe_irq_enable(struct wx *wx, bool queues)
wr32(wx, WX_PX_MISC_IEN, mask);
/* mask interrupt */
/* unmask interrupt */
if (queues)
wx_intr_enable(wx, NGBE_INTR_ALL);
else