numam-dpdk/drivers
Huisong Li 5d78d42b31 net/hns3: offload calculating shapping to firmware
In order to have more flexible selection of shapping algorithm based on
different versions of hns3 network engine, moves the algorithm of
calculating shapping parameter to firmware to execute. If bit
HNS3_TM_RATE_VLD_B of flag field of struct named hns3_pri_shapping_cmd,
hns3_pg_shapping_cmd or hns3_port_shapping_cmd is set to 1, firmware of
network engine, which device revision_id is greater than and equal to
0x30, will recalculate the shapping parameters according to the xxx_rate
field of struct hns3_xxx_shapping_cmd and the opcode of scheduling
level, and configure to hardware.

But driver still needs to calculate shapping parameters and configure
firmware, so as to be compatible with the network engine with
revision_id eqauls 0x21. And the rate and the flag will be ignored based
on the network engine with revision_id equals 0x21.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-10-08 19:58:10 +02:00
..
baseband mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
bus kernel/linux: remove igb_uio 2020-10-06 14:50:13 +02:00
common drivers/common: mark all symbols as internal 2020-10-06 01:16:14 +02:00
compress mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
crypto eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
event eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
mempool mempool/ring: build on Windows 2020-10-05 10:07:17 +02:00
net net/hns3: offload calculating shapping to firmware 2020-10-08 19:58:10 +02:00
raw raw/ioat: add fill operation 2020-10-08 14:33:20 +02:00
regex regex/mlx5: add dynamic memory registration to datapath 2020-10-06 01:11:45 +02:00
vdpa vdpa/ifc: fix build with recent kernels 2020-10-02 18:38:33 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00