NtInfoPort_v9_s

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
struct NtInfoPort_v9_s

This structure will return the port specific information version 7. Must be a mirror of NtInfoPort_v8_s with version 9 variables added to the bottom.

Definition at line 369 of file stream_info.h.

Data Fields

enum NtPortType_e

type

The interface type. More...

enum NtLinkState_e

state

The port up or down. More...

enum NtLinkSpeed_e

speed

The interface speed. More...

enum NtLinkDuplex_e

duplex

The duplex mode. More...

int32_t

flow

0 = no flow control, 1 = flow control More...

enum NtLinkMDI_e

mdi

1 = auto, 2 = MDI, 4 = MDIX More...

uint8_t

macAddress[6]

The MAC address of the interface. More...

uint16_t

maxFrameSize

The current maximum frame size. More...

struct NtLinkCapabilities_s

capabilities

The link capabilities. More...

uint8_t

adapterNo

The adapter that has the port. More...

uint8_t

Reserved1[3]

uint8_t

numSensors

The number of sensors on this port. More...

uint8_t

Reserved2[3]

uint8_t

numLevel1Sensors

Number of level 1 sensors on this port. More...

uint8_t

Reserved3[3]

uint8_t

numLevel2Sensors

Number of level 2 sensors on this port. More...

uint8_t

Reserved4[3]

enum NtNimIdentifier_e

nim_id

NIM identifier. More...

uint8_t

vendor_name[17]

NIM Vendor name. More...

uint8_t

product_no[17]

NIM product number. More...

uint8_t

serial_no[17]

NIM serial number. More...

uint8_t

date[9]

NIM vendors manufacturing date. More...

uint8_t

revision[5]

NIM vendor revision. More...

uint8_t

power_level_req

NIM required power level. More...

uint8_t

power_level_curr

NIM current power level. More...

struct NtNIMLinkLength_s

link_length

struct NtInfoAdapter_v6_s

adapterInfo

struct NtBypassPortInfo_s

bypass

uint32_t

statusMask

Adapter status mask holds information on how the port is configured at startup. More...

NtPortFec_t

fecState

The state of Forward Error Correction if applicable. More...

uint64_t

nextPktNs

Time till next package will be transmitted in ns. More...

uint64_t

maxPktDelayedNs

Max time pkts were late in being transmitted. More...

Field Documenation

enum NtPortType_e type

The interface type.

Definition at line 359 of file stream_info.h.

enum NtLinkState_e state

The port up or down.

Definition at line 359 of file stream_info.h.

Referenced by main().

enum NtLinkSpeed_e speed

The interface speed.

Definition at line 359 of file stream_info.h.

Referenced by main().

enum NtLinkDuplex_e duplex

The duplex mode.

Definition at line 359 of file stream_info.h.

int32_t flow

0 = no flow control, 1 = flow control

Definition at line 374 of file stream_info.h.

enum NtLinkMDI_e mdi

1 = auto, 2 = MDI, 4 = MDIX

Definition at line 374 of file stream_info.h.

uint8_t macAddress[6]

The MAC address of the interface.

Definition at line 376 of file stream_info.h.

uint16_t maxFrameSize

The current maximum frame size.

Definition at line 377 of file stream_info.h.

struct NtLinkCapabilities_s capabilities

The link capabilities.

Capabilities reflect what the port is capable of, that is, what speed/duplex is possible. For example, if only 100 M full duplex is available, the capabilities would show: halfDuplexMask=0. fullDuplexMask=NT_LINK_SPEED_100M. Other capabilities are min/max transmit sizes.

Definition at line 377 of file stream_info.h.

Referenced by main().

uint8_t Reserved1[3]

Definition at line 388 of file stream_info.h.

uint8_t numSensors

The number of sensors on this port.

Definition at line 389 of file stream_info.h.

uint8_t Reserved2[3]

Definition at line 390 of file stream_info.h.

uint8_t numLevel1Sensors

Number of level 1 sensors on this port.

Definition at line 391 of file stream_info.h.

Referenced by main().

uint8_t Reserved3[3]

Definition at line 392 of file stream_info.h.

uint8_t numLevel2Sensors

Number of level 2 sensors on this port.

Definition at line 393 of file stream_info.h.

uint8_t Reserved4[3]

Definition at line 394 of file stream_info.h.

enum NtNimIdentifier_e nim_id

NIM identifier.

NIM model information

Definition at line 394 of file stream_info.h.

uint8_t vendor_name[17]

NIM Vendor name.

Definition at line 400 of file stream_info.h.

uint8_t product_no[17]

NIM product number.

Definition at line 401 of file stream_info.h.

uint8_t serial_no[17]

NIM serial number.

Definition at line 402 of file stream_info.h.

uint8_t date[9]

NIM vendors manufacturing date.

Definition at line 403 of file stream_info.h.

uint8_t revision[5]

NIM vendor revision.

Definition at line 404 of file stream_info.h.

uint8_t power_level_req

NIM required power level.

Definition at line 405 of file stream_info.h.

uint8_t power_level_curr

NIM current power level.

Definition at line 406 of file stream_info.h.

struct NtNIMLinkLength_s link_length

Definition at line 406 of file stream_info.h.

struct NtInfoAdapter_v6_s adapterInfo

Adapter information

Definition at line 406 of file stream_info.h.

Referenced by main().

struct NtBypassPortInfo_s bypass

Bypass port information

Definition at line 406 of file stream_info.h.

Referenced by main().

uint32_t statusMask

Adapter status mask holds information on how the port is configured at startup.

Definition at line 416 of file stream_info.h.

NtPortFec_t fecState

The state of Forward Error Correction if applicable.

Definition at line 417 of file stream_info.h.

uint64_t nextPktNs

Time till next package will be transmitted in ns.

Definition at line 418 of file stream_info.h.

uint64_t maxPktDelayedNs

Max time pkts were late in being transmitted.

Definition at line 419 of file stream_info.h.