diff options
author | Brett Creeley <[email protected]> | 2023-12-04 13:09:32 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-05 20:49:50 -0800 |
commit | 15e54faa5d5e4840974de7fb5cd737c2179a309a (patch) | |
tree | 3fed44656a93f87e9654143c3323ce6bf89b221d /tools/perf/scripts/python/gecko.py | |
parent | 2f57dd94bdef083855366138646b26b05f410d99 (diff) |
ionic: Use cached VF attributes
Each time a VF attribute is set via iproute a call to get the VF
configuration is also made. This is currently problematic because for
each VF configuration call there are multiple commands sent to the
device. Unfortunately, this doesn't scale well. Fix this by reporting
the cached VF attributes.
The original change to query the device for getting the VF attributes
f16f5be31009 ("ionic: Query FW when getting VF info via ndo_get_vf_config")
was made to remain consistent with device set VF attributes. However,
after further investigation there is no need to query the device.
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Rahul Rameshbabu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions