8e97e139035f8c3d1265465f2435dc2fe77f7681
[dpdk.git] / doc / guides / nics / txgbe.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright(c) 2015-2020.
3
4 TXGBE Poll Mode Driver
5 ======================
6
7 The TXGBE PMD (librte_pmd_txgbe) provides poll mode driver support
8 for Wangxun 10 Gigabit Ethernet NICs.
9
10 Features
11 --------
12
13 - Multiple queues for TX and RX
14 - Receiver Side Scaling (RSS)
15 - MAC/VLAN filtering
16 - Packet type information
17 - Checksum offload
18 - VLAN/QinQ stripping and inserting
19 - TSO offload
20 - Promiscuous mode
21 - Multicast mode
22 - Port hardware statistics
23 - Jumbo frames
24 - Link state information
25 - Link flow control
26 - Interrupt mode for RX
27 - Scattered and gather for TX and RX
28 - DCB
29 - FW version
30 - LRO
31
32 Prerequisites
33 -------------
34
35 - Learning about Wangxun 10 Gigabit Ethernet NICs using
36   `<https://www.net-swift.com/a/383.html>`_.
37
38 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
39
40 Pre-Installation Configuration
41 ------------------------------
42
43 Build Options
44 ~~~~~~~~~~~~~
45
46 The following build-time options may be enabled on build time using.
47
48 ``-Dc_args=`` meson argument (e.g. ``-Dc_args=-DRTE_LIBRTE_TXGBE_DEBUG_RX``).
49
50 Please note that enabling debugging options may affect system performance.
51
52 - ``RTE_LIBRTE_TXGBE_DEBUG_RX`` (undefined by default)
53
54   Toggle display of receive fast path run-time messages.
55
56 - ``RTE_LIBRTE_TXGBE_DEBUG_TX`` (undefined by default)
57
58   Toggle display of transmit fast path run-time messages.
59
60 - ``RTE_LIBRTE_TXGBE_DEBUG_TX_FREE`` (undefined by default)
61
62   Toggle display of transmit descriptor clean messages.
63
64 Dynamic Logging Parameters
65 ~~~~~~~~~~~~~~~~~~~~~~~~~~
66
67 One may leverage EAL option "--log-level" to change default levels
68 for the log types supported by the driver. The option is used with
69 an argument typically consisting of two parts separated by a colon.
70
71 TXGBE PMD provides the following log types available for control:
72
73 - ``pmd.net.txgbe.driver`` (default level is **notice**)
74
75   Affects driver-wide messages unrelated to any particular devices.
76
77 - ``pmd.net.txgbe.init`` (default level is **notice**)
78
79   Extra logging of the messages during PMD initialization.
80
81 Driver compilation and testing
82 ------------------------------
83
84 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
85 for details.
86
87 Limitations or Known issues
88 ---------------------------
89
90 Build with ICC is not supported yet.
91 Power8, ARMv7 and BSD are not supported yet.