Skip to content

Commit

Permalink
net/hns3: remove duplicate macro definition
Browse files Browse the repository at this point in the history
[ upstream commit 0983cdc ]

This patch fixes duplicate macro definition of HNS3_RSS_CFG_TBL_SIZE.

Fixes: 737f30e ("net/hns3: support command interface with firmware")

Signed-off-by: Jie Hai <haijie1@huawei.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
  • Loading branch information
Jie Hai authored and bluca committed Mar 9, 2022
1 parent 52e0989 commit af3bd94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/hns3/hns3_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,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 {
Expand Down

0 comments on commit af3bd94

Please sign in to comment.