Skip to content

Commit

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

This patch delete some duplicate macro definitions.

Fixes: a4c7152 ("net/hns3: extract common code to its own file")

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
  • Loading branch information
LiHuiSong1 authored and kevintraynor committed Jul 18, 2023
1 parent f25a869 commit b870ca9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/hns3/hns3_ethdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -876,13 +876,6 @@ struct hns3_adapter {
struct hns3_ptype_table ptype_tbl __rte_cache_aligned;
};

#define HNS3_DEVARG_RX_FUNC_HINT "rx_func_hint"
#define HNS3_DEVARG_TX_FUNC_HINT "tx_func_hint"

#define HNS3_DEVARG_DEV_CAPS_MASK "dev_caps_mask"

#define HNS3_DEVARG_MBX_TIME_LIMIT_MS "mbx_time_limit_ms"

enum {
HNS3_DEV_SUPPORT_DCB_B,
HNS3_DEV_SUPPORT_COPPER_B,
Expand Down

0 comments on commit b870ca9

Please sign in to comment.