net: hns3: add some link modes for hisilicon device
authorHao Chen <chenhao418@huawei.com>
Tue, 24 Oct 2023 03:20:34 +0000 (11:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2023 08:23:16 +0000 (09:23 +0100)
commit8ee2843f4d52026ab67e7577eaa49d444e1976b8
tree34686a4d744fa90779f4e35d6e7270dc9e31bf78
parent93aa731e613399f5145166940b20224a8d116920
net: hns3: add some link modes for hisilicon device

Add HCLGE_SUPPORT_50G_R1_BIT and HCLGE_SUPPORT_100G_R2_BIT two
capability bits and Corresponding link modes.

Signed-off-by: Hao Chen <chenhao418@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h