From: David S. Miller Date: Mon, 22 Jan 2018 21:05:50 +0000 (-0500) Subject: Merge branch 'hns3-new-features' X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~6057^2~90 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3dff4c621f687fe34d6cef2a331cd386a562376e;p=mirror_ubuntu-focal-kernel.git Merge branch 'hns3-new-features' Peng Li says: ==================== add some features to hns3 driver This patchset adds some features to hns3 driver, include the support for ethtool command -d, -p and support for manager table. [Patch 1/4] adds support for ethtool command -d, its ops is get_regs. driver will send command to command queue, and get regs number and regs value from command queue. [Patch 2/4] adds manager table initialization for hardware. [Patch 3/4] adds support for ethtool command -p. For fiber ports, driver sends command to command queue, and IMP will write SGPIO regs to control leds. [Patch 4/4] adds support for net status led for fiber ports. Net status include port speed, total rx/tx packets and link status. Driver send the status to command queue, and IMP will write SGPIO to control leds. --- Change log: V1 -> V2: 1, fix comments from Andrew Lunn, remove the patch "net: hns3: add ethtool -p support for phy device". ==================== Signed-off-by: David S. Miller --- 3dff4c621f687fe34d6cef2a331cd386a562376e