intel / idxd-config

Accel-config / libaccel-config
Other
61 stars 35 forks source link

accel-config: Add three options for sub-command disable-device And a Sub-command 'info' #74

Open ysun opened 1 month ago

ysun commented 1 month ago

accel-config: Add a subcommand info List all available DSA/IAX devices and their status. e.g.

$ sudo accel-config info
dsa0 (Active!)
dsa2

accel-config: Add three options for sub-command disable-device For certain reasons, the user needs to disable all configured devices, or IAA or DSA seperatedly. Previously, the user would repeatedly call the 'disable-device' sub-command in a loop. The newly added 'all' 'dsa' 'iax' options for 'disable-device' offers a more convenient solution.

ysun commented 2 hours ago

@ramesh-thomas @fyu1 Ping for patch review. We have some plan of test case enhancement depending on these changes. Appreciate it!