nfp: ethtool: support TX/RX pause frame on/off
authorYu Xiao <yu.xiao@corigine.com>
Mon, 27 Nov 2023 05:51:16 +0000 (07:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Nov 2023 04:08:29 +0000 (20:08 -0800)
commit4540c29ab9cc06d9c910e98ff9b13a06f7a3fd21
treebec12b253b33315b35b7915c022b4f6344c00efc
parenta379972973a80924b1d03443e20f113ff76a94c7
nfp: ethtool: support TX/RX pause frame on/off

Add support for ethtool -A tx on/off and rx on/off.

Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20231127055116.6668-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c