Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144339996
D5533.id14215.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
958 B
Referenced Files
None
Subscribers
None
D5533.id14215.diff
View Options
Index: head/sys/dev/vnic/nicvf_queues.c
===================================================================
--- head/sys/dev/vnic/nicvf_queues.c
+++ head/sys/dev/vnic/nicvf_queues.c
@@ -889,7 +889,6 @@
static void
nicvf_cmp_task(void *arg, int pending)
{
- uint64_t cq_head;
struct cmp_queue *cq;
struct nicvf *nic;
int cmp_err;
@@ -899,11 +898,6 @@
/* Handle CQ descriptors */
cmp_err = nicvf_cq_intr_handler(nic, cq->idx);
- /* Re-enable interrupts */
- cq_head = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_HEAD, cq->idx);
- nicvf_clear_intr(nic, NICVF_INTR_CQ, cq->idx);
- nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_HEAD, cq->idx, cq_head);
-
if (__predict_false(cmp_err != 0)) {
/*
* Schedule another thread here since we did not
@@ -913,6 +907,7 @@
}
+ nicvf_clear_intr(nic, NICVF_INTR_CQ, cq->idx);
/* Reenable interrupt (previously disabled in nicvf_intr_handler() */
nicvf_enable_intr(nic, NICVF_INTR_CQ, cq->idx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 10:37 PM (6 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28506283
Default Alt Text
D5533.id14215.diff (958 B)
Attached To
Mode
D5533: Fix "received NULL mbuf" bug in VNIC
Attached
Detach File
Event Timeline
Log In to Comment