Page MenuHomeFreeBSD

D34828.diff
No OneTemporary

D34828.diff

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

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)

Event Timeline