]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove unnecessary MAC enable in app loopback
authorYufeng Mo <moyufeng@huawei.com>
Wed, 27 May 2020 00:59:16 +0000 (08:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 21:56:08 +0000 (14:56 -0700)
commit7e05b11fac30f606ef3ee85284889f793d58b667
tree2eea007f35b99cfef43a6cb48e1873e0661cf25f
parentbbf3bbf0879118c06311b6c06984e3b915f3942c
net: hns3: remove unnecessary MAC enable in app loopback

Packets will not pass through MAC during app loopback.
Therefore, it is meaningless to enable MAC while doing
app loopback. This patch removes this unnecessary action.

Signed-off-by: Yufeng Mo <moyufeng@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