diff options
author | Fuyun Liang | 2018-09-26 20:28:33 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-28 19:37:41 +0200 |
commit | a7b687b35411f26d48ef246afcc0f3fd63a891e8 (patch) | |
tree | ca5be0233568f5a7a6d13ef6d623b9f0dc6dab30 /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | net: hns3: Set extra mac address of pause param for HW (diff) | |
download | kernel-qcow2-linux-a7b687b35411f26d48ef246afcc0f3fd63a891e8.tar.gz kernel-qcow2-linux-a7b687b35411f26d48ef246afcc0f3fd63a891e8.tar.xz kernel-qcow2-linux-a7b687b35411f26d48ef246afcc0f3fd63a891e8.zip |
net: hns3: Rename loop mode
Our loop mode includes mac loop, serdes loop and phy loop. Not all of them
are related with mac. This patch corrects their names.
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index 564afd4c1323..03d7878c6168 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -84,10 +84,10 @@ struct hnae3_queue { /*hnae3 loop mode*/ enum hnae3_loop { - HNAE3_MAC_INTER_LOOP_MAC, - HNAE3_MAC_INTER_LOOP_SERDES, - HNAE3_MAC_INTER_LOOP_PHY, - HNAE3_MAC_LOOP_NONE, + HNAE3_LOOP_MAC, + HNAE3_LOOP_SERDES, + HNAE3_LOOP_PHY, + HNAE3_LOOP_NONE, }; enum hnae3_client_type { |