Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151612283
D50688.id156544.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
919 B
Referenced Files
None
Subscribers
None
D50688.id156544.diff
View Options
diff --git a/sys/dev/gve/gve_tx_dqo.c b/sys/dev/gve/gve_tx_dqo.c
--- a/sys/dev/gve/gve_tx_dqo.c
+++ b/sys/dev/gve/gve_tx_dqo.c
@@ -987,11 +987,8 @@
struct gve_ring_com *com = &tx->com;
int i;
- for (i = 0; i < com->priv->tx_desc_cnt; i++) {
+ for (i = 0; i < com->priv->tx_desc_cnt; i++)
tx->dqo.desc_ring[i] = (union gve_tx_desc_dqo){};
- gve_invalidate_timestamp(
- &tx->dqo.pending_pkts[i].enqueue_time_sec);
- }
bus_dmamap_sync(tx->desc_ring_mem.tag, tx->desc_ring_mem.map,
BUS_DMASYNC_PREWRITE);
@@ -1033,6 +1030,8 @@
for (j = 0; j < tx->dqo.num_pending_pkts; j++) {
if (gve_is_qpl(tx->com.priv))
gve_clear_qpl_pending_pkt(&tx->dqo.pending_pkts[j]);
+ gve_invalidate_timestamp(
+ &tx->dqo.pending_pkts[j].enqueue_time_sec);
tx->dqo.pending_pkts[j].next =
(j == tx->dqo.num_pending_pkts - 1) ? -1 : j + 1;
tx->dqo.pending_pkts[j].state = GVE_PACKET_STATE_FREE;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 12:14 PM (6 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31226123
Default Alt Text
D50688.id156544.diff (919 B)
Attached To
Mode
D50688: gve: Fix timestamp invalidation for DQO queue formats
Attached
Detach File
Event Timeline
Log In to Comment