Skip to content
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

dsa_config_test_runner not checking capabilities prior to trying to configure an op #71

Open
snits opened this issue Aug 9, 2024 · 0 comments

Comments

@snits
Copy link
Contributor

snits commented Aug 9, 2024

I guess the problem went beyond the hardcoded full config case that was fixed.

A case I saw today:

		"$ACCFG" config-wq $DSA/$WQ0 -g 0 -m dedicated -y user -n app1 -d user -p 10 -o 272
		"$ACCFG" config-engine $DSA/$ENG0 -g 0
		read_ret=$(cat $IDXD_DEVICE_PATH/$DSA/$WQ0/op_config | cut -c 55-)
		if [ "$read_ret" != "00000000,00000272" ]; then
			echo "wq op_config 30 failed" && exit "$EXIT_FAILURE"
		fi

where the SRF system shows the following for the capabilities:

# cat dsa0/op_cap
00000000,00000000,00000000,00000000,00000000,00000000,0000007b,00bf067d

So the test fails.

Also the wq op_config 30 failed message seems to be out of date since it is passing -o 272.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant