OSDN Git Service

nfp: update ethtool reporting of pauseframe control
authorFei Qin <fei.qin@corigine.com>
Tue, 3 Aug 2021 10:39:11 +0000 (12:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 11:53:18 +0000 (12:53 +0100)
commit9fdc5d85a8fe684cdf24dc31c6bc4a727decfe87
treef07a9f7b9f393c6b14d58d6382320dec969d4a8b
parent0161d151f3e36306219f5aa6f5f6b3877038afd3
nfp: update ethtool reporting of pauseframe control

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: 265aeb511bd5 ("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>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c