100 Gbit/s, 40 Gbit/s, 10 Gbit/s MAC and 1 Gbit/s / 10 Gbit/s MAC

Feature Set N-ANL9

Napatech SmartNIC
Feature Description

In this chapter

This chapter describes the 100 Gbit/s MAC, the 40 Gbit/s MAC and the 1 Gbit/s / 10 Gbit/s MAC, which receive/transmit the data stream from/to the PHY, and generate/terminate an internal frame stream. The 100 Gbit/s MAC supports 100 Gbit/s Ethernet. The 40 Gbit/s MAC supports 40 Gbit/s Ethernet. The 1 Gbit/s / 10 Gbit/s MAC supports 10 Gbit/s Ethernet and 1 Gbit/s Ethernet.
Note: NT40A01-4×1 only supports 1 Gbit/s Ethernet.

Applies to

This table shows which features apply to which accelerators.

Feature NT200A01-2×100/40 N-ANL9 NT200A01-2×100 N-ANL9 NT200A01-2×40 N-ANL9 NT200C01 N-ANL9 NT100E3-1-PTP N-ANL9 NT80E3-2-PTP N-ANL9 NT40A01 N-ANL9 NT40E3-4-PTP N-ANL9 NT20E3-2-PTP N-ANL9
100 Gbit/s MAC X X X X
40 Gbit/s MAC X X X
1 Gbit/s / 10 Gbit/s MAC X X X

General operation

The 100 Gbit/s MAC, the 40 Gbit/s MAC and the 1 Gbit/s / 10 Gbit/s MAC are based on the IEEE 802.3 standard, and are optimized for line-speed throughput for receive and transmit operations used in the accelerators.

Link state

The current state of the Ethernet link is indicated in the NtInfoPort_s data structure (see DN-0449), and linkDownCounter (see Port Counters) counts the number of times the link has been down.

Length handling

The Ethernet frame length, without preamble/SFD but including CRC, determines MAC handling as:

  • Length ≤ 1 byte: The frame is discarded, and counted as discarded in a MAC counter.
    Note: NT200A01-2×100 and NT200A01-2×100/40 running at 2 × 100 Gbit/s ignore all frames shorter than 64 bytes.
    Note: For NT40E3-4-PTP and NT20E3-2PTP at 10 Gbit/s frames between 1 byte and 16 bytes are handled according to best effort.
    Note: The discard size can be configured using the DiscardSize parameter in the ntservice.ini file (see DN-0449).
    Note: DiscardSize has no effect for NT200A01-2×100 and for NT200A01-2×100/40 running at 2 × 100 Gbit/s.
  • Length > 10,000 bytes: The frame is hard-sliced to 10,000 bytes, and forwarded with a hard-slice indication.

    The wire length retrieved from the standard packet descriptor using the NT_NET_GET_PKT_WIRE_LENGTH macro (see DN-0449) is 10,000 bytes.

Error handling

Different kind of errors can occur for an Ethernet frame, and the handling of these is:

  • Code violation (CV) error: If illegal codes are received from the PHY, the frame is forwarded with a CV error.
  • CRC error: The Ethernet frame CRC is verified, and if a CRC error is detected, the frame is forwarded with a CRC error.
Note: NT200A01-2×100 and NT200A01-2×100/40 running at 2 × 100 Gbit/s report code violation errors as CRC errors.

Frame forward format

Received Ethernet frames are forwarded by the MAC without the preamble/SFD but with the CRC.