]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: update ethtool reporting of pauseframe control
authorFei Qin <fei.qin@corigine.com>
Tue, 3 Aug 2021 10:39:11 +0000 (12:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Aug 2021 11:20:57 +0000 (13:20 +0200)
commit2cf8a2d654750a0a31d22755cfd5c7d6d29717f4
tree4080566ac3eb565df0c77c238783e285b8b0d62e
parent180ddaa6f3d660fafcbe567ec3b8f09b2b726c68
nfp: update ethtool reporting of pauseframe control

[ Upstream commit 9fdc5d85a8fe684cdf24dc31c6bc4a727decfe87 ]

Pauseframe control is set to symmetric mode by default on the NFP.
Pause frames can not be configured through ethtool now, but ethtool can
report the supported mode.

Fixes: 8701bf343afc ("nfp: add support for .get_link_ksettings()")
Signed-off-by: Fei Qin <fei.qin@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c