Go to file
Wei Hu (Xavier) 62e3ccc2b9 net/hns3: support flow control
This patch adds support for MAC PAUSE flow control and priority flow
control(PFC).

MAC PAUSE flow control features:
All user priorities(up) are mapped to tc0. It supports settings of flow
mode and pause time.

DCB features:
Up can be mapped to other tc driver permits according to business
requirement. We can config DCB information and enable PFC by
rte_eth_dev_configure interface. Besides, enabling flow control of a
priority is supported by rte_eth_dev_priority_flow_ctrl_set interface.
we can also set flow mode and pause time by
rte_eth_dev_priority_flow_ctrl_set. we do not support manual setting of
ETS, but driver equally distributes bandwidth for each tc according to
number of used tc.

In addition, flow control function by default is turned off to ensure
that app startup state is the same each time.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Hao Chen <chenhao164@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07 15:00:56 +02:00
.ci ci: exit setup on any error 2019-09-13 13:19:00 +02:00
app app/testpmd: fix build for 16-byte Rx descriptor mode 2019-10-07 15:00:56 +02:00
buildtools buildtools: make experimental symbol check lighter 2019-10-09 10:22:45 +02:00
config net/hns3: add build and doc infrastructure 2019-10-07 15:00:56 +02:00
devtools devtools: fix test of ninja install 2019-09-15 20:51:04 +02:00
doc net/hns3: support flow control 2019-10-07 15:00:56 +02:00
drivers net/hns3: support flow control 2019-10-07 15:00:56 +02:00
examples examples/ipv4_multicast: check allmulticast enable status 2019-10-07 15:00:55 +02:00
kernel igb_uio: fix build on Linux 5.3 for fall through 2019-07-29 22:18:57 +02:00
lib ethdev: do nothing if all-multicast mode is applied again 2019-10-07 15:00:55 +02:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk net/hns3: add build and doc infrastructure 2019-10-07 15:00:56 +02:00
usertools usertools: fix input handling in telemetry script 2019-08-08 17:42:24 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: add missing dependencies for documentation 2019-09-13 13:04:13 +02:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS net/hns3: add build and doc infrastructure 2019-10-07 15:00:56 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt baseband/turbo_sw: support meson build 2019-07-05 15:28:14 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc0 2019-08-13 14:59:02 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org