009be03ced69f045cdfaa8052fc9e9d35ee164f6
[dpdk.git] / doc / guides / nics / axgbe.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
3
4 AXGBE Poll Mode Driver
5 ======================
6
7 The AXGBE poll mode driver library (**librte_pmd_axgbe**) implements support
8 for AMD 10 Gbps family of adapters. It is compiled and tested in standard linux distro like Ubuntu.
9
10 Detailed information about SoCs that use these devices can be found here:
11
12 - `AMD EPYC™ EMBEDDED 3000 family <https://www.amd.com/en/products/embedded-epyc-3000-series>`_.
13
14
15 Supported Features
16 ------------------
17
18 AXGBE PMD has support for:
19
20 - Base L2 features
21 - TSS (Transmit Side Scaling)
22 - Promiscuous mode
23 - Multicast mode
24 - RSS (Receive Side Scaling)
25 - Checksum offload
26 - Jumbo Frame upto 9K
27
28
29 Configuration Information
30 -------------------------
31
32 The following options can be modified in the ``.config`` file. Please note that
33 enabling debugging options may affect system performance.
34
35 - ``CONFIG_RTE_LIBRTE_AXGBE_PMD`` (default **y**)
36
37   Toggle compilation of axgbe PMD.
38
39 - ``CONFIG_RTE_LIBRTE_AXGBE_PMD_DEBUG`` (default **n**)
40
41   Toggle display for PMD debug related messages.
42
43
44 Building DPDK
45 -------------
46
47 See the :ref:`DPDK Getting Started Guide for Linux <linux_gsg>` for
48 instructions on how to build DPDK.
49
50 By default the AXGBE PMD library will be built into the DPDK library.
51
52 For configuring and using UIO frameworks, please also refer :ref:`the
53 documentation that comes with DPDK suite <linux_gsg>`.
54
55
56 Prerequisites and Pre-conditions
57 --------------------------------
58 - Prepare the system as recommended by DPDK suite.
59
60 - Bind the intended AMD device to ``igb_uio`` or ``vfio-pci`` module.
61
62 Now system is ready to run DPDK application.
63
64
65 Usage Example
66 -------------
67
68 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
69 for details.
70
71 Example output:
72
73 .. code-block:: console
74
75    [...]
76    EAL: PCI device 0000:02:00.4 on NUMA socket 0
77    EAL:   probe driver: 1022:1458 net_axgbe
78    Interactive-mode selected
79    USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
80    USER1: create a new mbuf pool <mbuf_pool_socket_1>: n=171456, size=2176, socket=1
81    USER1: create a new mbuf pool <mbuf_pool_socket_2>: n=171456, size=2176, socket=2
82    USER1: create a new mbuf pool <mbuf_pool_socket_3>: n=171456, size=2176, socket=3
83    Configuring Port 0 (socket 0)
84    Port 0: 00:00:1A:1C:6A:17
85    Checking link statuses...
86    Port 0 Link Up - speed 10000 Mbps - full-duplex
87    Done
88    testpmd>