net/hns3: add 1000M speed bit for copper PHYs
authorHuisong Li <lihuisong@huawei.com>
Tue, 13 Apr 2021 13:47:12 +0000 (21:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Apr 2021 00:55:04 +0000 (02:55 +0200)
commitf0c4f8c339151bec2fcd89e487dea941a101b523
tree870c7ff63efba1d783b4f53a32860c4d1a8d6393
parentd2e3bfb197c729d198c525967bdaae652381b826
net/hns3: add 1000M speed bit for copper PHYs

The bit(5) of supported, advertising and lp_advertising for copper
PHYs obtained from the firmware indicates 1000M full-duplex. This
speed capability bit is missing in the current codes.

Fixes: 2e4859f3b362 ("net/hns3: support PF device with copper PHYs")

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_cmd.h