-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
WIP RSS code for R8125. Different from R8168, but can add it with a check
for (size_t i = 0; i < indirectionEntries->Length; i++)
{
const ULONG queueId = RtGetRxQueueContext(indirectionEntries->Entries[i].PacketQueue)->QueueId;
const UINT32 index = indirectionEntries->Entries[i].Index;
const size_t bit = (index & 3) << 8;
const UINT32 bitv = index & ~3;
const UINT32 mask = ~((0xff) << bit);
adapter->RssIndirectionTable[bitv] = (adapter->RssIndirectionTable[bitv] & mask) | (queueId << bit);
}
// we just blat the entire table, could be optimized further
for (size_t i = 0; i < ARRAYSIZE(adapter->CSRAddress8125->RssIndirectionTable_8125); i++)
{
adapter->CSRAddress8125->RssIndirectionTable_8125[i] = adapter->RssIndirectionTable[i];
}Metadata
Metadata
Assignees
Labels
No labels