Skip to content

Commit

Permalink
net/bnxt: fix interrupt rearm logic
Browse files Browse the repository at this point in the history
[ upstream commit c79012a ]

Rearm will intimate hardware that current interrupts are processed
and it can continue to send more.

Fixes: 1fe427f ("net/bnxt: support enable/disable interrupt")

Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
  • Loading branch information
Rahul Gupta authored and kevintraynor committed Aug 28, 2019
1 parent e31e046 commit 191eb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bnxt/bnxt_rxq.c
Expand Up @@ -373,7 +373,7 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id)
return rc;
}
cpr = rxq->cp_ring;
B_CP_DB_ARM(cpr);
B_CP_DB_REARM(cpr, cpr->cp_raw_cons);
}
return rc;
}
Expand Down

0 comments on commit 191eb5d

Please sign in to comment.