diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-11-16 16:20:52 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-17 11:39:20 -0800 |
commit | ab16b49cdf986172373afc16b4039f058aa3b22d (patch) | |
tree | ade65a35a1e498ccad5c0bc088d5376bae9447b9 /drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | |
parent | 91bfae25eedd981b384339c7b12bef9eeaba0f34 (diff) | |
download | linux-ab16b49cdf986172373afc16b4039f058aa3b22d.tar.bz2 |
net: hns3: add support for querying maximum value of GL
For maintainability and compatibility, add support for querying
the maximum value of GL.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_enet.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index 10990bdf230c..be099ddbbe66 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -420,7 +420,6 @@ enum hns3_flow_level_range { HNS3_FLOW_ULTRA = 3, }; -#define HNS3_INT_GL_MAX 0x1FE0 #define HNS3_INT_GL_50K 0x0014 #define HNS3_INT_GL_20K 0x0032 #define HNS3_INT_GL_18K 0x0036 |