PCM-IIO fails while running on a 8 socket box
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 528
- Avg merge
- 1h 40m
- Merged PRs (30d)
- 2
Description
Hi ,
I was able to get a successful run of pcm-iio on a 4 socket box of HPE Superdome Flex 280 Server. When i tried the same on 8 socket box , pcm-iio failed .
While debugging it , I can see in the source file , the hardcoding is to handle for 4 sockets.
src/pcm-iio.cpp
57 const uint8_t max_sockets = 4;
I tried modifying it to 8 to see if it works , but ran into ubox[6] in PciHandle does not exist.
for(uint32_tsocket_id = 0; socket_id < sockets_count; socket_id++) {
if(!PciHandleType::exists(0, ubox[socket_id], SKX_UBOX_DEVICE_NUM, SKX_UBOX_FUNCTION_NUM)) {
cerr << "No access to PCICFG\n"<< endl;
returnfalse;
}
Can 8socket + box support be added for pcm-iio? pcm-pcie works fine for 8+ sockets too.
Contributor guide
Assessment
This issue has not been assessed yet.