Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: V1.0.3.0
-
Labels:None
-
Account:SPC Driver Ethernet operational (SPCDRIVERE)
Description
Support IOCTL command EDD_IOCTL_GET_PORT_STATUS_REQ (0xa16).
Using this command the following information can be obtained:
typedef struct EDD_IOCTL_GET_PORT_STATUS_Ttag
|
{
|
/** The port to get the status for. [input] */
|
UINT8 bPort;
|
/** The admin status of the port. [output] */
|
UINT8 bAdminStatus;
|
/** The operational status of the port. [output] */
|
UINT8 bOperStatus;
|
/** The Mautype (connection type of the Port) given as bit number
|
* according IANA mau mib. [output]*/
|
UINT8 bMauType;
|
/** The counters supported by this hal encoded as bitmask */
|
UINT32 ulValidCntsBf;
|
/** The number of received bytes [output]*/
|
UINT32 ulInOctets;
|
/** The number of received unicast packets [output]*/
|
UINT32 ulInUCastPkts;
|
/** The number of dropped packets [output]*/
|
UINT32 ulInDiscards;
|
/** The number of bad received packets [output]*/
|
UINT32 ulInErrors;
|
/** The number of packets which have not been delivered to any upper layer [output]*/
|
UINT32 ulInUnkownProtos;
|
/** The number of sent bytes [output]*/
|
UINT32 ulOutOctets;
|
/** The number of sent unicast packets [output]*/
|
UINT32 ulOutUCastPkts;
|
/** The number of discarded outgoing packets [outputs] */
|
UINT32 ulOutDiscards;
|
/** The number of packets failed to sent */
|
UINT32 ulOutErrors;
|
} EDD_IOCTL_GET_PORT_STATUS_T;
|
In addition to the counter ulOutUCastPkts and ulInUCastPkts for unicast frames, there should be a possibility to get the multicast (ulOutNUCastPkts and ulInNUCastPkts ) counters for both direction as well.
Those two additional counters are described in RFC 1213 and missing in the above structure.