[Accel-config] Re: [PATCH] accel-config: Do not fail shared wq tests if platform does not support shared wqs
Thomas, Ramesh <ramesh.thomas at intel.com> Wed, 11 Aug 2021 18:05:32 +0000
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <BYAPR11MB25358FC289A50796B3E3CDFCEDF89@BYAPR11MB2535.namprd11.prod.outlook.com> |
On Wed, Aug 11, 2021 at 10:08:28AM, Tony Luck wrote: > > If shared wq is not supported by platform use dedicated mode to avoid > > failing batch configuration tests > > Seems weird to change type of WQ. If the caller asked for a shared WQ, they are expecting > to send work to it using ENQCMD or ENQCMDS. Switching to dedicated would make the > requester still fail ... unless they subsequently check to see that this type switch > happened. This is the unit test that only tests the configuration. It configures a few wqs as shared and dedicated. The option is to skip the wqs set to be tested as shared wqs or configure all wqs as dedicated. There is no change to the config-wq command. I can add "test" to the tag to avoid confusion. > > -Tony