summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2026-06-14 13:52:59 -0700
committerJakub Kicinski <kuba@kernel.org>2026-06-15 18:15:08 -0700
commit7678e69079c10b2fb10977f28f44ddb22971ea5b (patch)
treec332ee9a7efee836364d2336c34595c604a9e8f6 /include
parent195900546305644b5570dcd615e30be3abe86185 (diff)
ionic: Fix check in ionic_get_link_ext_stats
The current check will fail if SR-IOV is not initialized for the physical function; this is because is_physfn is 0 if sriov_init() isn't run or fails. Change the check that prevents getting the link down count to use is_virtfn instead so that VFs don't get this functionality, which was the original intent. Fixes: 132b4ebfa090 ("ionic: add support for ethtool extended stat link_down_count") Signed-off-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Eric Joyner <eric.joyner@amd.com> Link: https://patch.msgid.link/20260614205303.48088-2-eric.joyner@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions