net/hns3: fix some function names for copper media type
authorHuisong Li <lihuisong@huawei.com>
Wed, 31 Mar 2021 10:01:35 +0000 (18:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Apr 2021 16:57:09 +0000 (18:57 +0200)
commit85a2dc75af38c384e526528272d69eb404e8956c
treebbfef8cd17848e4a5e22ea5e60c519ddea7add55
parent53e6f86cf550a75fb1d55a76f411e214e783d14d
net/hns3: fix some function names for copper media type

PHY is a common concept for the copper and optical media type interface.
There are some inappropriate function names for copper ports, which
needs to be adjusted.

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_ethdev.c