Dynamic Packet Descriptor 3

Reference Documentation

Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.8
Napatech Software Suite: Dynamic Packet Descriptor 3

Detailed Description

This descriptor is suited for TX and includes the wire length as well as color bits in the first 8 bytes of the descriptor. This allows SW to reduce the frame size before TX by modifying the wire length and it allows reduction of the descriptor length down to only 8 bytes while retaining the possibility to encode TX flags such as txIgnore in the color. The default values for the dynamic parts are:

offset0 = outer L3
offset1 = outer L4

descrFormat = 3
descrLength = 22

Data Structures

struct  NtDyn3Descr_s
 NT Variable descriptor 3. More...


typedef struct NtDyn3Descr_s NtDyn3Descr_t
 NT Variable descriptor 3. More...

Data Structure Documentation

struct NtDyn3Descr_s

Data Fields

uint64_t capLength:14
uint64_t wireLength:14
uint64_t color_lo:14
uint64_t rxPort:6
uint64_t descrFormat:8
uint64_t descrLength:6
uint64_t tsColor:1
uint64_t ntDynDescr:1
uint64_t timestamp
uint64_t color_hi:28
uint64_t offset0:10
uint64_t offset1:10

Field Documentation

uint64_t NtDyn3Descr_s::capLength

The length of the packet incl. descriptor.

Definition at line 64 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::wireLength

The wire length of the packet.

net/inline/inline_example.c, net/segment_inline/segment_inline_example.c, and net/vlandemo/vlandemo_example.c.

Definition at line 65 of file pktdescr_dyn3.h.

Referenced by main().

uint64_t NtDyn3Descr_s::color_lo

Programmable packet color[13:0].

Definition at line 66 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::rxPort

The port that received the frame.


Definition at line 67 of file pktdescr_dyn3.h.

Referenced by main().

uint64_t NtDyn3Descr_s::descrFormat

The descriptor type.

Definition at line 68 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::descrLength

The length of the descriptor in bytes.

net/capfileconvert/capfileconvert_example.c, and net/vlandemo/vlandemo_example.c.

Definition at line 69 of file pktdescr_dyn3.h.

Referenced by _Convert(), and main().

uint64_t NtDyn3Descr_s::tsColor

Timestamp color. Reserved for future use.

Definition at line 70 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::ntDynDescr

Set to 1 to identify this descriptor as a

Definition at line 71 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::timestamp

< dynamic descriptor. The time of arrival of the packet.


Definition at line 73 of file pktdescr_dyn3.h.

Referenced by _Convert().

uint64_t NtDyn3Descr_s::color_hi

Programmable packet color[41:14].

Definition at line 74 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::offset0

Programmable offset into the packet.

Definition at line 75 of file pktdescr_dyn3.h.

uint64_t NtDyn3Descr_s::offset1

Programmable offset into the packet.

Definition at line 76 of file pktdescr_dyn3.h.

Typedef Documentation

typedef struct NtDyn3Descr_s NtDyn3Descr_t

NT Variable descriptor 3.