Commit 65e0d96
Shruti Parab
bnxt_en: Fix ethtool selftest output in one of the failure cases
JIRA: https://issues.redhat.com/browse/RHEL-76568
commit 8e6cc90
Author: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Date: Mon Apr 28 15:58:57 2025 -0700
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: 895621f ("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>
Signed-off-by: Shruti Parab <shruti.parab@broadcom.com>1 parent 7c44acd commit 65e0d96
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4999 | 4999 | | |
5000 | 5000 | | |
5001 | 5001 | | |
| 5002 | + | |
5002 | 5003 | | |
5003 | 5004 | | |
5004 | 5005 | | |
5005 | 5006 | | |
5006 | 5007 | | |
5007 | 5008 | | |
5008 | 5009 | | |
5009 | | - | |
5010 | 5010 | | |
5011 | 5011 | | |
5012 | 5012 | | |
| |||
0 commit comments