Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162786628
D57253.id178642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
527 B
Referenced Files
None
Subscribers
None
D57253.id178642.diff
View Options
diff --git a/sys/dev/qlxge/qls_hw.c b/sys/dev/qlxge/qls_hw.c
--- a/sys/dev/qlxge/qls_hw.c
+++ b/sys/dev/qlxge/qls_hw.c
@@ -988,6 +988,7 @@
int ret = 0;
int i;
uint32_t value;
+ uint32_t rss_qs;
rss_icb = ha->rss_dma.dma_b;
@@ -1000,8 +1001,9 @@
rss_icb->mask = 0x3FF;
+ rss_qs = ha->num_rx_rings;
for (i = 0; i < Q81_RSS_ICB_NUM_INDTBL_ENTRIES; i++) {
- rss_icb->cq_id[i] = (i & (ha->num_rx_rings - 1));
+ rss_icb->cq_id[i] = (i % rss_qs);
}
memcpy(rss_icb->ipv6_rss_hash_key, q81_hash_key, 40);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 17, 9:27 PM (2 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35159625
Default Alt Text
D57253.id178642.diff (527 B)
Attached To
Mode
D57253: qlxge(4): Distribute RSS over num_rx_rings with a modulo
Attached
Detach File
Event Timeline
Log In to Comment