Searched refs:RxRing (Results 1 – 6 of 6) sorted by relevance
107 RxCurUsed = *Dev->RxRing.Used.Idx; in VirtioNetReceive()115 UsedElemIdx = Dev->RxLastUsed % Dev->RxRing.QueueSize; in VirtioNetReceive()116 DescIdx = Dev->RxRing.Used.UsedElem[UsedElemIdx].Id; in VirtioNetReceive()117 RxLen = Dev->RxRing.Used.UsedElem[UsedElemIdx].Len; in VirtioNetReceive()122 ASSERT (RxLen >= Dev->RxRing.Desc[DescIdx].Len); in VirtioNetReceive()123 RxLen -= Dev->RxRing.Desc[DescIdx].Len; in VirtioNetReceive()127 ASSERT (RxLen <= Dev->RxRing.Desc[DescIdx + 1].Len); in VirtioNetReceive()146 RxPtr = (UINT8 *)(UINTN) Dev->RxRing.Desc[DescIdx + 1].Addr; in VirtioNetReceive()172 AvailIdx = *Dev->RxRing.Avail.Idx; in VirtioNetReceive()173 Dev->RxRing.Avail.Ring[AvailIdx++ % Dev->RxRing.QueueSize] = in VirtioNetReceive()[all …]
268 RxAlwaysPending = (UINT16) MIN (Dev->RxRing.QueueSize / 2, VNET_MAX_PENDING); in VirtioNetInitRx()279 Dev->RxLastUsed = *Dev->RxRing.Used.Idx; in VirtioNetInitRx()287 *Dev->RxRing.Avail.Flags = (UINT16) VRING_AVAIL_F_NO_INTERRUPT; in VirtioNetInitRx()300 Dev->RxRing.Avail.Ring[PktIdx] = DescIdx; in VirtioNetInitRx()305 Dev->RxRing.Desc[DescIdx].Addr = (UINTN) RxPtr; in VirtioNetInitRx()306 Dev->RxRing.Desc[DescIdx].Len = (UINT32) VirtioNetReqSize; in VirtioNetInitRx()307 Dev->RxRing.Desc[DescIdx].Flags = VRING_DESC_F_WRITE | VRING_DESC_F_NEXT; in VirtioNetInitRx()308 Dev->RxRing.Desc[DescIdx].Next = (UINT16) (DescIdx + 1); in VirtioNetInitRx()309 RxPtr += Dev->RxRing.Desc[DescIdx++].Len; in VirtioNetInitRx()311 Dev->RxRing.Desc[DescIdx].Addr = (UINTN) RxPtr; in VirtioNetInitRx()[all …]
70 VirtioRingUninit (&Dev->RxRing); in VirtioNetShutdown()
63 RxCurUsed = *Dev->RxRing.Used.Idx; in VirtioNetIsPacketAvailable()
105 RxCurUsed = *Dev->RxRing.Used.Idx; in VirtioNetGetStatus()
84 VRING RxRing; // VirtioNetInitRing member