net/hns3: add build and doc infrastructure
[dpdk.git] / doc / guides / nics / hns3.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright(c) 2018-2019 Hisilicon Limited.
3
4 HNS3 Poll Mode Driver
5 ===============================
6
7 The hns3 PMD (librte_pmd_hns3) provides poll mode driver support
8 for the inbuilt Hisilicon Network Subsystem(HNS) network engine
9 found in the Hisilicon Kunpeng 920 SoC.
10
11 Features
12 --------
13
14 Features of the HNS3 PMD are:
15
16 - Multiple queues for TX and RX
17 - Receive Side Scaling (RSS)
18 - Packet type information
19 - Checksum offload
20 - Promiscuous mode
21 - Multicast mode
22 - Port hardware statistics
23 - Jumbo frames
24 - Link state information
25 - VLAN stripping
26 - NUMA support
27
28 Prerequisites
29 -------------
30 - Get the information about Kunpeng920 chip using
31   `<http://www.hisilicon.com/en/Products/ProductList/Kunpeng>`_.
32
33 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
34
35 Pre-Installation Configuration
36 ------------------------------
37
38 Config File Options
39 ~~~~~~~~~~~~~~~~~~~
40
41 The following options can be modified in the ``config`` file.
42 Please note that enabling debugging options may affect system performance.
43
44 - ``CONFIG_RTE_LIBRTE_HNS3_PMD`` (default ``y``)
45
46 Driver compilation and testing
47 ------------------------------
48
49 Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
50 for details.
51
52 Limitations or Known issues
53 ---------------------------
54 Currently, we only support VF device is bound to vfio_pci or
55 igb_uio and then driven by DPDK driver when PF is driven by
56 kernel mode hns3 ethdev driver, VF is not supported when PF
57 is driven by DPDK driver.
58
59 Build with ICC is not supported yet.
60 X86-32, Power8, ARMv7 and BSD are not supported yet.