Extensible Firmware Interface Specification
G.4.13
Statistics
This command is used to read and clear the NIC traffic statistics. Before using this command check
to see if statistics is supported in the
G.4.13.1
Issuing the Command
To issue a Statistics command, create a CDB and fill it in as shows in the table below:
CDB Field
OpCode
OpFlags
CPBsize
DBsize
CPBaddr
DBaddr
StatCode
StatFlags
IFnum
Control
OpFlags
To read the current statistics counters set the OpFlags field to:
•
PXE_OPFLAGS_STATISTICS_READ
To reset the current statistics counters set the OpFlags field to:
•
PXE_OPFLAGS_STATISTICS_RESET
444
!PXE.Implementation
How to initialize the CDB structure for a Statistics command
PXE_OPCODE_STATISTICS
Set as needed.
PXE_CPBSIZE_NOT_USED
sizeof(PXE_DB_STATISTICS)
PXE_CPBADDR_NOT_USED
Address of
PXE_DB_STATISTICS
PXE_STATCODE_INITIALIZE
PXE_STATFLAGS_INITIALIZE
A valid interface number from zero to !PXE.IFcnt.
Set as needed.
12/12/00
flags.
structure.
Version 1.02
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?