Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109514192
D34828.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1011 B
Referenced Files
None
Subscribers
None
D34828.diff
View Options
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -2075,7 +2075,6 @@
struct ix_rx_queue *rx_que = sc->rx_queues;
struct ix_tx_queue *tx_que;
int error, rid, vector = 0;
- int cpu_id = 0;
char buf[16];
/* Admin Que is vector 0*/
@@ -2095,25 +2094,6 @@
}
rx_que->msix = vector;
- if (sc->feat_en & IXGBE_FEATURE_RSS) {
- /*
- * The queue ID is used as the RSS layer bucket ID.
- * We look up the queue ID -> RSS CPU ID and select
- * that.
- */
- cpu_id = rss_getcpu(i % rss_getnumbuckets());
- } else {
- /*
- * Bind the MSI-X vector, and thus the
- * rings to the corresponding cpu.
- *
- * This just happens to match the default RSS
- * round-robin bucket -> queue -> CPU allocation.
- */
- if (sc->num_rx_queues > 1)
- cpu_id = i;
- }
-
}
for (int i = 0; i < sc->num_tx_queues; i++) {
snprintf(buf, sizeof(buf), "txq%d", i);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 2:06 AM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16504556
Default Alt Text
D34828.diff (1011 B)
Attached To
Mode
D34828: ix: Remove cpu_id and related code from ixgbe_if_msix_intr_assign.
Attached
Detach File
Event Timeline
Log In to Comment