]> mj.ucw.cz Git - pciutils.git/commit
pcilmr: Add the ability to pass multiple links to the utility
authorNikita Proshkin <n.proshkin@yadro.com>
Wed, 27 Dec 2023 09:45:00 +0000 (14:45 +0500)
committerMartin Mares <mj@ucw.cz>
Sat, 17 Feb 2024 22:44:49 +0000 (23:44 +0100)
commit5648e3f67164f79efbaad88368587b83a175b3d4
tree41af540e9dc3a812f51ad1ac8f470ecdf35e975f
parent72f92bee930e076aaa5c12d9b9eb5251304b9290
pcilmr: Add the ability to pass multiple links to the utility

* Add support for different utility modes;
* Make the default (now --margin) mode capable to accept several
  components and run test for all of them;
* Add --full mode for sequential start of the test on all ready links
  in the system;
* The complication of the main function is due to the need to pre-read the
  parameters of the devices before starting the tests in order to calculate
  Total ETA of the utility.

Reviewed-by: Sergei Miroshnichenko <s.miroshnichenko@yadro.com>
Signed-off-by: Nikita Proshkin <n.proshkin@yadro.com>
pcilmr.c