]> git.droids-corp.org - dpdk.git/commitdiff
net/hns3: remove duplicate macro definition
authorJie Hai <haijie1@huawei.com>
Mon, 28 Feb 2022 03:21:41 +0000 (11:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 2 Mar 2022 11:23:19 +0000 (12:23 +0100)
This patch fixes duplicate macro definition of HNS3_RSS_CFG_TBL_SIZE.

Fixes: 737f30e1c3ab ("net/hns3: support command interface with firmware")
Cc: stable@dpdk.org
Signed-off-by: Jie Hai <haijie1@huawei.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_cmd.h

index 81bc9e9d98c1bd816e320b0228b448def9242c44..f9addc6069990555a04610b0db97af29d6393b76 100644 (file)
@@ -603,7 +603,6 @@ struct hns3_cfg_gro_status_cmd {
 
 #define HNS3_RSS_HASH_KEY_OFFSET_B     4
 
-#define HNS3_RSS_CFG_TBL_SIZE  16
 #define HNS3_RSS_HASH_KEY_NUM  16
 /* Configure the algorithm mode and Hash Key, opcode:0x0D01 */
 struct hns3_rss_generic_config_cmd {