numam-dpdk/drivers
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
..
baseband baseband/fpga_lte_fec: add public API to map file 2019-10-09 11:50:12 +02:00
bus crypto/dpaa_sec: support event crypto adapter 2019-10-09 13:14:18 +02:00
common crypto/octeontx: fix global log variable definition 2019-10-09 11:50:12 +02:00
compress compress/qat: add stateful decompression 2019-10-09 11:50:12 +02:00
crypto crypto/dpaa_sec: support event crypto adapter 2019-10-09 13:14:18 +02:00
event event/dpaa: support crypto adapter 2019-10-09 13:14:19 +02:00
mempool common/octeontx2: fix mbox memory access 2019-08-05 23:18:27 +02:00
net net/hns3: support flow control 2019-10-07 15:00:56 +02:00
raw remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00