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

Feature Set N-ANL11

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Feature Description

In this chapter

This chapter describes the 100 Gbit/s MAC, the 40 Gbit/s MAC, the 10 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 10 Gbit/s MAC supports 10 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 SmartNICs.

Feature NT200A02 NT200A01 NT200C01 NT100E3-1-PTP NT80E3-2-PTP Intel® PAC A10 GX with Napatech Link™ Capture Software NT40A01 NT40E3-4-PTP NT20E3-2-PTP
2 × 100 Gbit/s image 2 × 40 Gbit/s image 8 × 10 Gbit/s image 2 × 100 Gbit/s capture/replay image1 2 × 100 Gbit/s capture image 2 × 40 Gbit/s image 2 × 25/10 Gbit/s image 8 × 10 Gbit/s image 2 × 100 Gbit/s images 1 × 100 Gbit/s image 2 × 40 Gbit/s image 8 × 10 Gbit/s image 1 × 40 Gbit/s Accelerator Functional Unit (AFU) 4 × 10 Gbit/s Accelerator Functional Unit (AFU) 4 × 10/1 Gbit/s SLB image 4 × 1 Gbit/s image 4 × 10/1 Gbit/s capture/replay image 4 × 10/1 Gbit/s capture image 2 × 10/1 Gbit/s image
100 Gbit/s MAC X X X X X
40 Gbit/s MAC X X X X
10 Gbit/s / 25 Gbit/s MAC X
10 Gbit/s MAC X X X X
1 Gbit/s / 10 Gbit/s MAC X X X X X

General operation

The 100 Gbit/s MAC, the 40 Gbit/s MAC, the 10 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 SmartNICs.

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: An NT200A01 running at 2 × 100 Gbit/s ignores all frames shorter than 64 bytes.
    Note: For Intel® PAC with Intel® Arria® 10 GX FPGA running Napatech Link™ Capture Software as well as for NT200A01-2×25/10/2×40, NT200A02-2×40/8×10, NT200A02-8×10/2×40, NT200A01-8×10/2×40, NT80E3-2-PTP-8×10/2×40, NT40A01-4×10/1-SLB, 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 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: An NT200A01 running at 2 × 100 Gbit/s reports 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.

1 The capture/replay image is the 2 × 100 Gbit/s image used in NT200A01-2×100/40.