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

PCM-IIO fails while running on a 8 socket box #377

Open
NishilKumar opened this issue Mar 2, 2022 · 2 comments
Open

PCM-IIO fails while running on a 8 socket box #377

NishilKumar opened this issue Mar 2, 2022 · 2 comments

Comments

@NishilKumar
Copy link

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.

@ogbrugge
Copy link
Contributor

ogbrugge commented Mar 3, 2022

I'll see if i can find someone to look into this.

@opcm
Copy link
Contributor

opcm commented Mar 5, 2022

@ilia-kurakin any idea if pcm-iio can be extended to support 8+ socket systems?

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

No branches or pull requests

3 participants