aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYinjun Zhang <[email protected]>2023-05-09 09:58:17 +0200
committerJakub Kicinski <[email protected]>2023-05-09 19:40:28 -0700
commita731a43e8669a0b430c79a3e38890c27a5847a76 (patch)
tree3b13e66fd36f1d26342ae1eb2fe0075784f16aae /tools/perf/scripts/python
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 <[email protected]> Acked-by: Simon Horman <[email protected]> Signed-off-by: Louis Peens <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions