]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: convert mac advertize and supported from u32 to link mode
authorJian Shen <shenjian15@huawei.com>
Wed, 20 Feb 2019 02:32:42 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 00:29:04 +0000 (16:29 -0800)
commitad90715f09d703fce9c9119d0a5a1df8cabee59e
tree09f1d89b60bdb0ce2927a72619dbdf9ef38526db
parent36539513cf85c87ae2f59e9d14712bb1e404239f
net: hns3: convert mac advertize and supported from u32 to link mode

The link mode with bits has been up to more than 31 for some MAC
and phy. Convert to using a linkmode bitmap, which can support all
link modes.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c