From 24415ae34a1798df1cb0b0189aae30a92f82b9f5 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Wed, 1 Jun 2022 11:52:51 +0800 Subject: [PATCH] net/hns3: fix TM capability The TM capability should be bit-19 according to the user manual of firmware. Fixes: fc18d1b4b85f ("net/hns3: fix traffic management") Cc: stable@dpdk.org Signed-off-by: Chengwen Feng Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_cmd.h b/drivers/net/hns3/hns3_cmd.h index f9addc6069..82c999061d 100644 --- a/drivers/net/hns3/hns3_cmd.h +++ b/drivers/net/hns3/hns3_cmd.h @@ -323,7 +323,7 @@ enum HNS3_CAPS_BITS { HNS3_CAPS_UDP_TUNNEL_CSUM_B, HNS3_CAPS_RAS_IMP_B, HNS3_CAPS_RXD_ADV_LAYOUT_B = 15, - HNS3_CAPS_TM_B = 17, + HNS3_CAPS_TM_B = 19, }; /* Capabilities of VF dependent on the PF */ -- 2.39.5