net: hns3: add ethtool support for CQE/EQE mode configuration
authorYufeng Mo <moyufeng@huawei.com>
Fri, 20 Aug 2021 07:35:20 +0000 (15:35 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Aug 2021 14:38:29 +0000 (07:38 -0700)
commitcce1689eb58d2fe3219da2ecd27cef8e644c4cc6
treec3c70a267394b5615f479995b48a313ef6210c5d
parent9f0c6f4b7475dd97e1f0eed81dd6ff173cf8c7fc
net: hns3: add ethtool support for CQE/EQE mode configuration

Add support in ethtool for switching EQE/CQE mode.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c