]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: add support for querying advertised pause frame by ethtool ethx
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:54 +0000 (12:21 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:14 +0000 (10:47 -0500)
commita2cfbadbda01fb899512f16ddd9fdb5aef4eddb5
treeef5974581e39aac2b155b0b639e5b6aaa77e3d79
parentc3c83c24001897280f838bb0f381588e0c9d361f
net: hns3: add support for querying advertised pause frame by ethtool ethx

BugLink: http://bugs.launchpad.net/bugs/1756097
This patch adds support for querying advertised pause frame by using
ethtool command(ethtool ethx).

Fixes: 496d03e960ae ("net: hns3: Add Ethtool support to HNS3 driver")
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit f34ffffdcf06c779ac1ee303bf198152f0841386)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c