Commit 36d1e70
bnxt_en: Skip PHY loopback ethtool selftest if unsupported by FW
Skip PHY loopback selftest if firmware advertises that it is unsupported
in the HWRM_PORT_PHY_QCAPS call. Only show PHY loopback test result to
be 0 if the test has run and passes. Do the same for external loopback
to be consistent.
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241217182620.2454075-4-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent fac5472 commit 36d1e70
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4914 | 4914 | | |
4915 | 4915 | | |
4916 | 4916 | | |
| 4917 | + | |
| 4918 | + | |
| 4919 | + | |
| 4920 | + | |
4917 | 4921 | | |
4918 | 4922 | | |
4919 | | - | |
4920 | | - | |
| 4923 | + | |
4921 | 4924 | | |
4922 | | - | |
| 4925 | + | |
| 4926 | + | |
| 4927 | + | |
| 4928 | + | |
4923 | 4929 | | |
4924 | 4930 | | |
4925 | 4931 | | |
4926 | 4932 | | |
4927 | | - | |
4928 | | - | |
| 4933 | + | |
4929 | 4934 | | |
4930 | | - | |
| 4935 | + | |
| 4936 | + | |
4931 | 4937 | | |
4932 | 4938 | | |
4933 | 4939 | | |
| |||
0 commit comments