numam-dpdk/drivers/net
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
..
af_packet ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
af_xdp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
ark ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
atlantic ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
avp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
axgbe ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
bnx2x ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
bnxt ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
bonding ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
cxgbe ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
dpaa ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
dpaa2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
e1000 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
ena net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
enetc ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
enic ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
failsafe ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
fm10k ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
hinic ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
hns3 net/hns3: support flow control 2019-10-07 15:00:56 +02:00
i40e net/i40e: limit the number of VF messages 2019-10-07 15:00:56 +02:00
iavf ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
ice net/ice: remove legacy Rx descriptor definition 2019-10-07 15:00:56 +02:00
ifc net/ifc: add devargs pointer check 2019-07-23 14:31:35 +02:00
ipn3ke net/ipn3ke: setup MTU during HW init 2019-10-07 15:00:56 +02:00
ixgbe ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
kni ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
liquidio ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
memif net/memif: check status of getting link info 2019-10-07 15:00:54 +02:00
mlx4 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
mlx5 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
mvneta ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
mvpp2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
netvsc ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
nfb ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
nfp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
null ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
octeontx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
octeontx2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
pcap ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
qede ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
ring ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
sfc ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
softnic ethdev: change device info get callback to return int 2019-10-07 14:45:35 +02:00
szedata2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
tap ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
thunderx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
vdev_netvsc net/vdev_netvsc: use new ethernet address parser 2019-07-08 21:26:52 +02:00
vhost ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
virtio ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
vmxnet3 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
Makefile net/hns3: add build and doc infrastructure 2019-10-07 15:00:56 +02:00
meson.build net/hns3: add build and doc infrastructure 2019-10-07 15:00:56 +02:00