Page MenuHomeFreeBSD

D6722.id17352.diff
No OneTemporary

D6722.id17352.diff

Index: head/sys/dev/sfxge/sfxge_rx.c
===================================================================
--- head/sys/dev/sfxge/sfxge_rx.c
+++ head/sys/dev/sfxge/sfxge_rx.c
@@ -1129,7 +1129,12 @@
* Set up the scale table. Enable all hash types and hash insertion.
*/
for (index = 0; index < SFXGE_RX_SCALE_MAX; index++)
+#ifdef RSS
+ sc->rx_indir_table[index] =
+ rss_get_indirection_to_bucket(index) % sc->rxq_count;
+#else
sc->rx_indir_table[index] = index % sc->rxq_count;
+#endif
if ((rc = efx_rx_scale_tbl_set(sc->enp, sc->rx_indir_table,
SFXGE_RX_SCALE_MAX)) != 0)
goto fail;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 21, 5:01 AM (6 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27107582
Default Alt Text
D6722.id17352.diff (614 B)

Event Timeline