[dpdk-dev] [PATCH 2/8] net/hns3: support RTE TM get ops function

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 19 01:49:01 CET 2021


On 1/14/2021 1:33 PM, Lijun Ou wrote:
> From: Chengwen Feng <fengchengwen at huawei.com>
> 
> 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 at huawei.com>
> Signed-off-by: Lijun Ou <oulijun at huawei.com>
> ---
>   drivers/net/hns3/hns3_dcb.c    |  216 ++++---
>   drivers/net/hns3/hns3_dcb.h    |    3 +
>   drivers/net/hns3/hns3_ethdev.c |   20 +-
>   drivers/net/hns3/hns3_ethdev.h |   14 +
>   drivers/net/hns3/hns3_tm.c     | 1291 ++++++++++++++++++++++++++++++++++++++++
>   drivers/net/hns3/hns3_tm.h     |  103 ++++
>   drivers/net/hns3/meson.build   |    3 +-
>   7 files changed, 1554 insertions(+), 96 deletions(-)
>   create mode 100644 drivers/net/hns3/hns3_tm.c
>   create mode 100644 drivers/net/hns3/hns3_tm.h

Can you please update the release notes to announce the PMD TM support? I can 
squash it in next-net.



More information about the dev mailing list