]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: adds support for reading module eeprom info
authorYonglong Liu <liuyonglong@huawei.com>
Wed, 29 Apr 2020 03:46:24 +0000 (11:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2020 18:41:33 +0000 (11:41 -0700)
commit944faa66cba149c6e05ec1b498a1eabf841a5f6f
tree31d5c9d6591242f397df93a98c9b9d361800e32f
parente023994ef7fbb34d44572c7fc0671f931169b511
net: hns3: adds support for reading module eeprom info

This patch adds support for reading the optical module eeprom
info via "ethtool -m".

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c