48. NGBE Poll Mode Driver
The NGBE PMD (librte_pmd_ngbe) provides poll mode driver support for Wangxun 1 Gigabit Ethernet NICs.
48.1. Features
- Multiple queues for Tx and Rx
- Receiver Side Scaling (RSS)
- MAC/VLAN filtering
- Packet type information
- Checksum offload
- VLAN/QinQ stripping and inserting
- TSO offload
- Promiscuous mode
- Multicast mode
- Port hardware statistics
- Jumbo frames
- Link state information
- Link flow control
- Scattered and gather for TX and RX
- IEEE 1588
- FW version
- Interrupt mode for RX
48.2. Prerequisites
- Learning about Wangxun 1 Gigabit Ethernet NICs using https://www.net-swift.com/a/386.html.
- Follow the DPDK Getting Started Guide for Linux to setup the basic DPDK environment.
48.3. Configuration
48.3.1. Compilation Options
The following build-time options may be enabled on build time using.
-Dc_args= meson argument (e.g. -Dc_args=-DRTE_LIBRTE_NGBE_PF_DISABLE_STRIP_CRC).
RTE_LIBRTE_NGBE_PF_DISABLE_STRIP_CRC(undefined by default)Decide to enable or disable HW CRC in VF PMD.
48.3.2. Dynamic Logging Parameters
One may leverage EAL option “–log-level” to change default levels for the log types supported by the driver. The option is used with an argument typically consisting of two parts separated by a colon.
NGBE PMD provides the following log types available for control:
pmd.net.ngbe.driver(default level is notice)Affects driver-wide messages unrelated to any particular devices.
pmd.net.ngbe.init(default level is notice)Extra logging of the messages during PMD initialization.
48.4. Driver compilation and testing
Refer to the document Compiling and testing a PMD for a NIC for details.
48.5. Limitations or Known issues
Power8, ARMv7 and BSD are not supported yet.