net/txgbe: support packet type
[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 - MAC filtering
15 - Packet type information
16 - Jumbo frames
17 - Link state information
18
19 Prerequisites
20 -------------
21
22 - Learning about Wangxun 10 Gigabit Ethernet NICs using
23   `<https://www.net-swift.com/a/383.html>`_.
24
25 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
26
27 Pre-Installation Configuration
28 ------------------------------
29
30 Build Options
31 ~~~~~~~~~~~~~
32
33 The following build-time options may be enabled on build time using.
34
35 ``-Dc_args=`` meson argument (e.g. ``-Dc_args=-DRTE_LIBRTE_TXGBE_DEBUG_RX``).
36
37 Please note that enabling debugging options may affect system performance.
38
39 - ``RTE_LIBRTE_TXGBE_DEBUG_RX`` (undefined by default)
40
41   Toggle display of receive fast path run-time messages.
42
43 - ``RTE_LIBRTE_TXGBE_DEBUG_TX`` (undefined by default)
44
45   Toggle display of transmit fast path run-time messages.
46
47 - ``RTE_LIBRTE_TXGBE_DEBUG_TX_FREE`` (undefined by default)
48
49   Toggle display of transmit descriptor clean messages.
50
51 Dynamic Logging Parameters
52 ~~~~~~~~~~~~~~~~~~~~~~~~~~
53
54 One may leverage EAL option "--log-level" to change default levels
55 for the log types supported by the driver. The option is used with
56 an argument typically consisting of two parts separated by a colon.
57
58 TXGBE PMD provides the following log types available for control:
59
60 - ``pmd.net.txgbe.driver`` (default level is **notice**)
61
62   Affects driver-wide messages unrelated to any particular devices.
63
64 - ``pmd.net.txgbe.init`` (default level is **notice**)
65
66   Extra logging of the messages during PMD initialization.
67
68 Driver compilation and testing
69 ------------------------------
70
71 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
72 for details.
73
74 Limitations or Known issues
75 ---------------------------
76
77 Build with ICC is not supported yet.
78 Power8, ARMv7 and BSD are not supported yet.