TianoCore EDK2 master
s_pxe_cpb_initialize Struct Reference

Data Fields

PXE_UINT64 MemoryAddr
PXE_UINT32 MemoryLength
PXE_UINT32 LinkSpeed
PXE_UINT16 TxBufSize
PXE_UINT16 RxBufSize
PXE_UINT8 DuplexMode
PXE_UINT8 LoopBackMode

Detailed Description

Definition at line 1240 of file UefiPxe.h.

Field Documentation

◆ DuplexMode

PXE_UINT8 s_pxe_cpb_initialize::DuplexMode

The following configuration parameters are optional and must be zero to use the default values.

Definition at line 1280 of file UefiPxe.h.

◆ LinkSpeed

PXE_UINT32 s_pxe_cpb_initialize::LinkSpeed

Desired link speed in Mbit/sec. Common ethernet values are 10, 100 and 1000. Setting a value of zero will auto-detect and/or use the default link speed (operation depends on UNDI/NIC functionality).

Definition at line 1259 of file UefiPxe.h.

◆ LoopBackMode

PXE_UINT8 s_pxe_cpb_initialize::LoopBackMode

Definition at line 1282 of file UefiPxe.h.

◆ MemoryAddr

PXE_UINT64 s_pxe_cpb_initialize::MemoryAddr

Address of first (lowest) byte of the memory buffer. This buffer must be in contiguous physical memory and cannot be swapped out. The UNDI will be using this for transmit and receive buffering.

Definition at line 1246 of file UefiPxe.h.

◆ MemoryLength

PXE_UINT32 s_pxe_cpb_initialize::MemoryLength

MemoryLength must be greater than or equal to MemoryRequired returned by the Get Init Info command.

Definition at line 1252 of file UefiPxe.h.

◆ RxBufCnt

PXE_UINT16 s_pxe_cpb_initialize::RxBufCnt

Definition at line 1273 of file UefiPxe.h.

◆ RxBufSize

PXE_UINT16 s_pxe_cpb_initialize::RxBufSize

Definition at line 1274 of file UefiPxe.h.

◆ TxBufCnt

PXE_UINT16 s_pxe_cpb_initialize::TxBufCnt

Suggested number and size of receive and transmit buffers to allocate. If MemoryAddr and MemoryLength are non-zero, this allocation comes out of the supplied memory buffer. If MemoryAddr and MemoryLength are zero, this allocation comes out of memory on the NIC.

If these fields are set to zero, the UNDI will allocate buffer counts and sizes as it sees fit.

Definition at line 1271 of file UefiPxe.h.

◆ TxBufSize

PXE_UINT16 s_pxe_cpb_initialize::TxBufSize

Definition at line 1272 of file UefiPxe.h.

The documentation for this struct was generated from the following file: