TWSD-1120 : VA Instance is not able to be created when the ports are selected .
Review Request #1118 — Created Oct. 28, 2025 and submitted
| Information | |
|---|---|
| stevenku | |
| AVX2 | |
| rel_avx_2_7_5 | |
| TWSD-1120 | |
| Reviewers | |
| ngurunathan, timlai, wli | |
Fixed the issue that AVX5800 cannot automatically assign resources when creating large VA.
Root cause
Each PCIe device is identified by BDF (Bus:Device:Function).
Bus(8-bit):Device(5-bit):Function(3-bit)→ Function IDs are only 3 bits long, so each PCIe device can have a maximum of 8 functions (0–7).
The AVX5800 SSL card slot does not support ARI, so only 7 VFs can be created (plus 1 PF, a total of 8).
Due to hardware limitations, the available resources cannot be correctly returned when executingva_resource_get_available().
Therefore, change the value of the AVX5800 variablesslsfrom 8 to 7.
- Login to AVX.
- Go to " VA > VA Instance > click on + "
- Provide details and select image size as "large"
- click on next and select mode as "Auto" for ports selection(No port is selected in "Auto mode")
- click on "Next"
- Then click on "Save"
testing run:
$ /ca/bin/res_budget large 1return:
ssl1: dvf1 dvf2 dvf3 dvf4 dvf5 dvf6 dvf7 port1: vf1 port2: vf1 port3: vf1 port4: vf1
