Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106100383
D5322.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
493 B
Referenced Files
None
Subscribers
None
D5322.diff
View Options
Index: sys/dev/vnic/nicvf_queues.c
===================================================================
--- sys/dev/vnic/nicvf_queues.c
+++ sys/dev/vnic/nicvf_queues.c
@@ -768,6 +768,8 @@
cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head);
cqe_head++;
cqe_head &= (cq->dmem.q_len - 1);
+ /* Prefetch next CQ descriptor */
+ __builtin_prefetch((struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head));
dprintf(nic->dev, "CQ%d cq_desc->cqe_type %d\n", cq_idx,
cq_desc->cqe_type);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 10:00 AM (11 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15603610
Default Alt Text
D5322.diff (493 B)
Attached To
Mode
D5322: Prefetch next CQ descriptor in Completion Queue handling loop of VNIC
Attached
Detach File
Event Timeline
Log In to Comment