intel / idxd-config

Accel-config / libaccel-config
Other
56 stars 34 forks source link

Error configuring shared workqueue #15

Closed ozhuraki closed 1 year ago

ozhuraki commented 2 years ago
# accel-config -v
3.4.6.4.gitc5271866
# uname -rv
5.18-051800-generic #202205230807-Ubuntu SMP PREEMPT_DYNAMIC Mon May 23 17:26:06 UTC
# cat /proc/cmdline
[...] intel_iommu=on,sm_on
# id
uid=0(root) gid=0(root) groups=0(root)
# accel-config list
[
]
# accel-config config-wq --group-id=1 --mode=shared --wq-size=16 --threshold=15 --driver-name=user --name="MyApp1" --priority=10 --block-on-fault=1 dsa0/wq0.1
# accel-config config-engine dsa0/engine0.1 --group-id=1
# accel-config enable-device dsa0
enabled 1 device(s) out of 1
# accel-config enable-wq dsa0/wq0.1
failed in dsa0/wq0.1
enabled 0 wq(s) out of 1
# 
davejiang commented 2 years ago

Curious why you are starting everything at 1 instead of 0. I think you need to configure group 0 first.

ramesh-thomas commented 1 year ago

@ozhuraki is this issue resolved?