summaryrefslogtreecommitdiff
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorJohn Daley <johndale@cisco.com>2025-01-08 00:41:58 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-09 23:27:08 +0300
commit238d77d110f7b54b483bf2b67038d43a7b51800c (patch)
treeda6f24d083ab8e925b8a36b9ff870a63cd1540f6 /tools/net/ynl/pyynl/cli.py
parentaf2ccc6908f7c2156532de16f8446992b74e74a2 (diff)
downloadlinux-238d77d110f7b54b483bf2b67038d43a7b51800c.tar.xz
enic: Obtain the Link speed only after the link comes up
The link speed is obtained in the RX adaptive coalescing function. It was being called at probe time when the link may not be up. Change the call to run after the Link comes up. The impact of not getting the correct link speed was that the low end of the adaptive interrupt range was always being set to 0 which could have caused a slight increase in the number of RX interrupts. Co-developed-by: Nelson Escobar <neescoba@cisco.com> Signed-off-by: Nelson Escobar <neescoba@cisco.com> Co-developed-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: John Daley <johndale@cisco.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Link: https://patch.msgid.link/20250107214159.18807-3-johndale@cisco.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions