net/hns3: support link speed autoneg for PF
authorHuisong Li <lihuisong@huawei.com>
Tue, 13 Apr 2021 13:47:17 +0000 (21:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Apr 2021 00:55:04 +0000 (02:55 +0200)
commitbdaf190f8235ff0968cc346c005fceccda4e1af0
treef13e3492be28a54097a1fcdfbf08f55f2eb597c0
parent09e0de1f411b36e204233357fc04e520c6a1f892
net/hns3: support link speed autoneg for PF

This patch supports link speed auto-negotiation for PF. If the
device supports auto-negotiation, the device negotiates with
the link partner at all speeds supported by the device.

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