![]() + see Documentation/networking/devlink/devlink-health. + - Runs a flash test on the device which helps to log the health of the flash. +The following is a list of tests that drivers may execute. +The ``devlink-selftests`` command should be run with a mask indicating +The ``devlink-selftests`` API allows executing selftests on the device. To query supported tests by device, API devlink_selftest_name_put()ĭiff -git a/Documentation/networking/devlink/devlink-selftests.rst b/Documentation/networking/devlink/devlink-selftests.rst API devlink_selftest_result_put() helpsĭrivers to populate the test results along with their names. To execute tests, users can provide a test mask for executing Please specify any value between 1 and 150 so that it is generated in the card header, in this list item and the chronology will automatically appear and function. To execute and query the supported tests by the driver. Game: Flow Free: Bridges Level number: 149 Error: Level number is unspecified. ` (2 subsequent siblings) 3 siblings, 1 reply 21+ messages in threadįramework exposes devlink commands and test suite(s) to the user 16:42 ` bnxt_en: refactor NVM APIs Vikas Gupta 16:42 add framework for selftests in devlink Vikas 16:42 ` Vikas Gupta * devlink: introduce framework for selftests Net/core/devlink.c | 147 ++++++++++++++++++ħ files changed, 340 insertions(+), 12 deletions(-)Ĭreate mode 100644 Documentation/networking/devlink/devlink-selftests.rst net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 12 ++ net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 24 +. networking/devlink/devlink-selftests.rst | 39 +++++ $ devlink dev selftests show pci/0000:03:00.0ĭevlink: introduce framework for selftestsīnxt_en: implement callbacks for devlink selftests $ devlink dev selftests run pci/0000:03:00.0 test flash Suggested commands at user level would be as below: Patchset adds a flash based test for the bnxt_en driver. To the driver which can opt for running particular tests based on User can provide test(s) suite as a testmask and subsequently it is passed This patchset adds support for selftests in the devlink framework. Michael.chan, andrew.gospodarek, Vikas Gupta ` (3 more replies) 0 siblings, 4 replies 21+ messages in threadĬc: netdev, linux-kernel, davem, dsahern, stephen, edumazet, 16:42 ` devlink: introduce framework for selftests Vikas Gupta Add framework for selftests in devlink archive mirror help / color / mirror / Atom feed * add framework for selftests in devlink 16:42 Vikas Gupta
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |