fbnic: Add support for setting/getting pause configuration
authorAlexander Duyck <alexanderduyck@fb.com>
Wed, 18 Jun 2025 22:08:09 +0000 (15:08 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Jun 2025 07:31:46 +0000 (09:31 +0200)
commiteb4c27edb4d8dbfbdcc7bc03e0394a0fab8af7d5
treeae6c4412b7abbef084a0b91534ffdddd06983bbf
parentfb9a3bb7f7f23b86d05e94f85e523d7d3f5fa57d
fbnic: Add support for setting/getting pause configuration

Phylink already handles most of the pieces necessary for configuring
autonegotation. With that being the case we can add support for
getting/setting pause now by just passing through the ethtool call to the
phylink code.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/175028448974.625704.14427543910503058114.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
drivers/net/ethernet/meta/fbnic/fbnic_netdev.h
drivers/net/ethernet/meta/fbnic/fbnic_phylink.c