diff options
author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2025-04-28 15:58:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-04-30 13:03:21 +0100 |
commit | 8e6cc9045380f3f0c48ebda2bda5e1abe263388d (patch) | |
tree | 928bc047f019831a6f7816eee51bbdb58470339d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9ab7a709c926c16b4433cf02d04fcbcf35aaab2b (diff) |
bnxt_en: Fix ethtool selftest output in one of the failure cases
When RDMA driver is loaded, running offline self test is not
supported and driver returns failure early. But it is not clearing
the input buffer and hence the application prints some junk
characters for individual test results.
Fix it by clearing the buffer before returning.
Fixes: 895621f1c816 ("bnxt_en: Don't support offline self test when RoCE driver is loaded")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions