Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140098069
D6722.id17352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
614 B
Referenced Files
None
Subscribers
None
D6722.id17352.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6722: [5/6] sfxge(4): set up the indirection table using the kernel-driven RSS bucket identifiers
Attached
Detach File
Event Timeline
Log In to Comment