numam-dpdk/drivers/net/hns3
Huisong Li d55f3d9c1a net/hns3: fix configurations of port-level scheduling rate
Scheduling rate of port-level in hns3 PF driver configured to
hardware is obtained from firmware, which determines the
bandwidth capability of the port. The rate in firmware is
generally configured with the maximum value for network engine
supporting multiple rates, such as 10G and 25G. It may cause
the following issues:
1) When a 10G optical module is used on the network engine, scheduling
   rate of this port will also be configured to hardware with 25G.
   However, the MAC rate of this port is 10G. In this case, it is
   unreasonable that the port scheduling rate is different from the MAC
   rate.
2) If default speed in firmware is not the maximum value, the 25G port
   may not reach the capability of the port.

Therefore, we fix configurations of port-level scheduling rate
according to updating of MAC link speed.

Fixes: 59fad0f321 ("net/hns3: support link update operation")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
2020-11-03 23:35:07 +01:00
..
hns3_cmd.c net/hns3: support queue start and stop 2020-10-08 19:58:10 +02:00
hns3_cmd.h net/hns3: support FEC 2020-10-09 13:17:43 +02:00
hns3_dcb.c net/hns3: fix configurations of port-level scheduling rate 2020-11-03 23:35:07 +01:00
hns3_dcb.h net/hns3: fix configurations of port-level scheduling rate 2020-11-03 23:35:07 +01:00
hns3_ethdev_vf.c net/hns3: limit promiscuous mode for VF 2020-11-03 23:35:07 +01:00
hns3_ethdev.c net/hns3: fix configurations of port-level scheduling rate 2020-11-03 23:35:07 +01:00
hns3_ethdev.h net/hns3: fix Tx checksum with fixed header length 2020-11-03 23:35:07 +01:00
hns3_fdir.c net/hns3: maximize queue number 2020-10-08 19:58:10 +02:00
hns3_fdir.h net/hns3: support flow action of queue region 2020-09-30 19:19:11 +02:00
hns3_flow.c net/hns3: fix RSS max queue id allowed in multi-TC 2020-11-03 23:35:06 +01:00
hns3_intr.c net/hns3: remove redundant return value assignment 2020-10-08 19:58:10 +02:00
hns3_intr.h net/hns3: add more hardware error types 2020-09-18 18:55:07 +02:00
hns3_logs.h net/hns3: register and add log interface 2019-10-07 15:00:56 +02:00
hns3_mbx.c net/hns3: add VLAN configuration compatibility 2020-09-30 19:19:10 +02:00
hns3_mbx.h net/hns3: support setting VF PVID by PF driver 2020-07-07 23:38:26 +02:00
hns3_mp.c net/hns3: check multi-process action register result 2020-07-07 23:38:28 +02:00
hns3_mp.h net/hns3: check multi-process action register result 2020-07-07 23:38:28 +02:00
hns3_regs.c net/hns3: support queue start and stop 2020-10-08 19:58:10 +02:00
hns3_regs.h net/hns3: support queue start and stop 2020-10-08 19:58:10 +02:00
hns3_rss.c net/hns3: fix RSS max queue id allowed in multi-TC 2020-11-03 23:35:06 +01:00
hns3_rss.h net/hns3: enable RSS for IPv6-SCTP dst/src port fields 2020-11-03 23:35:06 +01:00
hns3_rxtx_vec_neon.h net/hns3: support NEON Rx 2020-09-21 18:05:38 +02:00
hns3_rxtx_vec_sve.c net/hns3: support SVE Tx 2020-10-16 19:48:19 +02:00
hns3_rxtx_vec.c net/hns3: support NEON Rx 2020-09-21 18:05:38 +02:00
hns3_rxtx_vec.h net/hns3: support SVE Tx 2020-10-16 19:48:19 +02:00
hns3_rxtx.c net/hns3: support VXLAN-GPE TSO and checksum 2020-11-03 23:35:07 +01:00
hns3_rxtx.h net/hns3: fix Tx checksum with fixed header length 2020-11-03 23:35:07 +01:00
hns3_stats.c net/hns3: maximize queue number 2020-10-08 19:58:10 +02:00
hns3_stats.h net/hns3: maximize queue number 2020-10-08 19:58:10 +02:00
meson.build net/hns3: fix enabling SVE Rx/Tx 2020-11-03 23:35:06 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00