Home
last modified time | relevance | path

Searched refs:Snm (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DDriverBinding.c206 Dev->Snp.Mode = &Dev->Snm; in VirtioNetSnpPopulate()
208 Dev->Snm.State = EfiSimpleNetworkStopped; in VirtioNetSnpPopulate()
209 Dev->Snm.HwAddressSize = SIZE_OF_VNET (Mac); in VirtioNetSnpPopulate()
210 Dev->Snm.MediaHeaderSize = SIZE_OF_VNET (Mac) + // dst MAC in VirtioNetSnpPopulate()
213 Dev->Snm.MaxPacketSize = 1500; in VirtioNetSnpPopulate()
214 Dev->Snm.NvRamSize = 0; in VirtioNetSnpPopulate()
215 Dev->Snm.NvRamAccessSize = 0; in VirtioNetSnpPopulate()
216 Dev->Snm.ReceiveFilterMask = RECEIVE_FILTERS_NO_MCAST; in VirtioNetSnpPopulate()
217 Dev->Snm.ReceiveFilterSetting = RECEIVE_FILTERS_NO_MCAST; in VirtioNetSnpPopulate()
218 Dev->Snm.MaxMCastFilterCount = 0; in VirtioNetSnpPopulate()
[all …]
DSnpTransmit.c88 switch (Dev->Snm.State) { in VirtioNetTransmit()
99 if (BufferSize < Dev->Snm.MediaHeaderSize) { in VirtioNetTransmit()
103 if (BufferSize > Dev->Snm.MediaHeaderSize + Dev->Snm.MaxPacketSize) { in VirtioNetTransmit()
124 if (HeaderSize != Dev->Snm.MediaHeaderSize || in VirtioNetTransmit()
136 (SrcAddr == NULL) ? &Dev->Snm.CurrentAddress : SrcAddr, in VirtioNetTransmit()
143 ASSERT ((UINTN) (Ptr - (UINT8 *) Buffer) == Dev->Snm.MediaHeaderSize); in VirtioNetTransmit()
DSnpReceiveFilters.c76 switch (Dev->Snm.State) { in VirtioNetReceiveFilters()
98 ((Enable | Disable) & ~Dev->Snm.ReceiveFilterMask) != 0 || in VirtioNetReceiveFilters()
99 (!ResetMCastFilter && MCastFilterCnt > Dev->Snm.MaxMCastFilterCount) in VirtioNetReceiveFilters()
DSnpStop.c55 if (Dev->Snm.State != EfiSimpleNetworkStarted) { in VirtioNetStop()
59 Dev->Snm.State = EfiSimpleNetworkStopped; in VirtioNetStop()
DSnpStart.c54 if (Dev->Snm.State != EfiSimpleNetworkStopped) { in VirtioNetStart()
58 Dev->Snm.State = EfiSimpleNetworkStarted; in VirtioNetStart()
DSnpGetStatus.c76 switch (Dev->Snm.State) { in VirtioNetGetStatus()
90 if (Dev->Snm.MediaPresentSupported) { in VirtioNetGetStatus()
97 Dev->Snm.MediaPresent = in VirtioNetGetStatus()
DSnpShutdown.c55 switch (Dev->Snm.State) { in VirtioNetShutdown()
72 Dev->Snm.State = EfiSimpleNetworkStarted; in VirtioNetShutdown()
DEvents.c55 if (Dev->Snm.State != EfiSimpleNetworkInitialized) { in VirtioNetIsPacketAvailable()
88 if (Dev->Snm.State == EfiSimpleNetworkInitialized) { in VirtioNetExitBoot()
DSnpReceive.c92 switch (Dev->Snm.State) { in VirtioNetReceive()
137 if (RxLen < Dev->Snm.MediaHeaderSize) { in VirtioNetReceive()
143 *HeaderSize = Dev->Snm.MediaHeaderSize; in VirtioNetReceive()
DSnpInitialize.c262 (Dev->Snm.MediaHeaderSize + Dev->Snm.MaxPacketSize); in VirtioNetInitRx()
395 if (Dev->Snm.State != EfiSimpleNetworkStarted) { in VirtioNetInitialize()
439 ASSERT (Dev->Snm.MediaPresentSupported == in VirtioNetInitialize()
501 Dev->Snm.State = EfiSimpleNetworkInitialized; in VirtioNetInitialize()
DSnpMcastIpToMac.c73 switch (Dev->Snm.State) { in VirtioNetMcastIpToMac()
DVirtioNet.h79 EFI_SIMPLE_NETWORK_MODE Snm; // VirtioNetSnpPopulate member