Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148156569
D19070.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
845 B
Referenced Files
None
Subscribers
None
D19070.id.diff
View Options
Index: head/sys/dev/e1000/if_em.c
===================================================================
--- head/sys/dev/e1000/if_em.c
+++ head/sys/dev/e1000/if_em.c
@@ -1996,7 +1996,7 @@
&adapter->rx_queues[i % adapter->rx_num_queues].que_irq,
IFLIB_INTR_TX, tx_que, tx_que->me, buf);
- tx_que->msix = (vector % adapter->tx_num_queues);
+ tx_que->msix = (vector % adapter->rx_num_queues);
/*
* Set the bit to enable interrupt
@@ -2009,9 +2009,9 @@
adapter->ims |= tx_que->eims;
adapter->ivars |= (8 | tx_que->msix) << (8 + (i * 4));
} else if (adapter->hw.mac.type == e1000_82575) {
- tx_que->eims = E1000_EICR_TX_QUEUE0 << (i % adapter->tx_num_queues);
+ tx_que->eims = E1000_EICR_TX_QUEUE0 << i;
} else {
- tx_que->eims = 1 << (i % adapter->tx_num_queues);
+ tx_que->eims = 1 << i;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 3:40 AM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29806088
Default Alt Text
D19070.id.diff (845 B)
Attached To
Mode
D19070: Fix em(4) tx interrupt routing
Attached
Detach File
Event Timeline
Log In to Comment