-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an option to run DSA, IAA tests without device reset #38
Comments
@mythi |
@xinzhanz please see whether this can be changed. |
Don't find the difference when apply this patch. When there is wq is enabled, run make check libaccfg, test is skip whatever the patch is added or not. |
Without the patch, this is what we see:
when adding the patch, everything works OK:
|
accel-config version v4.1, linux 6.2 |
@xinzhanz any suggestions we could try or what might be missing? |
As I said, I didn't find the function difference. You can ask Ramesh to merge it. |
Do we know what's causing the error we see when running these tests in a container? |
@xinzhanz @ramesh-thomas any suggestions what to try? |
Could you remove "-w 1" and try, ./dsa_test -l 1048576 -o 0x10 -f 0x1 t200 -d dsa4/wq2.0? |
@mythi you can either create a pull request or send the patch to [email protected] after checking the above. |
I'm not comfortable sending the patch because it just ignores the error and we don't know why the error happens. Is there some writing to sysfs during the tests? |
Yes, I agree. I did not know the patch was the one linked above adding a check for EROFS Can you please check the cmd_status attribute? ls -l /sys/bus/dsa/devices/dsa0/cmd_status This has never happened. Are you having a very old kernel and idxd driver? Thanks |
my log was from 6.2. Is that old? :-) One reason I can think of is is that |
Yes, it clears the command status attribute at the start. How can anything be configured if the attributes are made read-only? |
WQ setup is done separately by the node admin. The app container just uses the pre-configured queues |
suggests that the apps are not supposed to write to it. Is my understanding correct? |
I did not understand your question. Writing to it clears the status as the description states. We need to clear the status to avoid reading any stale value. |
My question was if these 'device administrative commands' are related to WQ config which in our case are not done by the application container |
I've not looked deep into the code. Is the |
Can you please try the latest in pending branch? I have added a fix. |
OK, checking. |
@ramesh-thomas our CI gives green with the patch so it seems to work well, thanks a lot! |
No description provided.
The text was updated successfully, but these errors were encountered: