git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d261c9e
)
net/bnxt: fix interrupt rearm logic
author
Rahul Gupta
<rahul.gupta@broadcom.com>
Fri, 19 Jul 2019 06:19:03 +0000
(11:49 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000
(14:31 +0200)
Rearm will intimate hardware that current interrupts are processed
and it can continue to send more.
Fixes:
1fe427fd08ee
("net/bnxt: support enable/disable interrupt")
Cc: stable@dpdk.org
Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_rxq.c
b/drivers/net/bnxt/bnxt_rxq.c
index
c94cac5
..
e0eb890
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxq.c
+++ b/
drivers/net/bnxt/bnxt_rxq.c
@@
-374,7
+374,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;
}