net/hns3: support traffic management
authorChengwen Feng <fengchengwen@huawei.com>
Thu, 14 Jan 2021 13:33:31 +0000 (21:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:32 +0000 (03:30 +0100)
commitc09c7847d8928258c97621cd4b56433a9019521c
treefcc8ab81e2fd6556467553d7df2d3f180f508c55
parent1f089a3a80c383b74fad89351a632720a6bc09b7
net/hns3: support traffic management

This patch support RTE TM ops function for PF, which could
used to:
1. config port's peak rate.
2. config TC's peak rate.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_dcb.c
drivers/net/hns3/hns3_dcb.h
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_tm.c [new file with mode: 0644]
drivers/net/hns3/hns3_tm.h [new file with mode: 0644]
drivers/net/hns3/meson.build