summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorYinjun Zhang <yinjun.zhang@corigine.com>2023-05-09 09:58:17 +0200
committerJakub Kicinski <kuba@kernel.org>2023-05-09 19:40:28 -0700
commita731a43e8669a0b430c79a3e38890c27a5847a76 (patch)
tree3b13e66fd36f1d26342ae1eb2fe0075784f16aae /lib/mpi/mpi-sub-ui.c
parent94e86ef1b801d213dfb8543633dec86abb1a457d (diff)
nfp: improve link modes reading process
Avoid reading link modes from management firmware every time when `ethtool_get_link_ksettings` is called, only communicate with management firmware when necessary like we do for eth_table info. This change can ease the situation that when large number of vlan sub-interfaces are created and their information is requested by some monitoring process like PCP [1] through ethool ioctl frequently. [1] https://pcp.io Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com> Acked-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Louis Peens <louis.peens@corigine.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/20230509075817.10566-1-louis.peens@corigine.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions