]> www.infradead.org Git - users/willy/xarray.git/commit
enic: add ethtool get_channel support
authorJon Kohler <jon@nutanix.com>
Thu, 27 Jun 2024 20:20:13 +0000 (13:20 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Jun 2024 01:37:04 +0000 (18:37 -0700)
commitbf7bb7b43097d8c2b8673c5ea8a6b64a1f6090b0
treea7d074c751db4d5fe6ba7bc041015b2fa25199d4
parentdb2dede28d824261cd79db98f37c4437371d11b8
enic: add ethtool get_channel support

Add .get_channel to enic_ethtool_ops to enable basic ethtool -l
support to get the current channel configuration.

Note that the driver does not support dynamically changing queue
configuration, so .set_channel is intentionally unused. Instead, users
should use Cisco's hardware management tools (UCSM/IMC) to modify
virtual interface card configuration out of band.

Signed-off-by: Jon Kohler <jon@nutanix.com>
Link: https://patch.msgid.link/20240627202013.2398217-1-jon@nutanix.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/enic_ethtool.c