-
Notifications
You must be signed in to change notification settings - Fork 424
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
UCT/TCP: Use SIOCGIFCONF ioctl when /sys/class/net is missing. #4462
base: master
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
21126b6
to
0d565ae
Compare
Hi @dmitrygx, Thanks for your feedback. I've amended the patch following your suggestions, except one:
AFAICS, Let me know what you think! |
@civodul yes, you're right |
0d565ae
to
545d302
Compare
d0f29b9
to
9ffc49e
Compare
9ffc49e
to
c08f1ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM, thank you @civodul
ok to test |
Mellanox CI: FAILED on 25 of 25 workers (click for details)Note: the logs will be deleted after 25-Nov-2019
|
Hi @dmitrygx, Not sure I understand what the build failures are about. Let me know if you need anything else from me. |
this following has to be changed
to
|
c08f1ee
to
6d3e3be
Compare
Indeed... Done, thanks. |
Mellanox CI: FAILED on 4 of 25 workers (click for details)Note: the logs will be deleted after 26-Nov-2019
|
Hello! The messages I received from Mellanox' CI system show that the 3 test failures are about:
It's unclear to me how this could relate to this patch. Thoughts? |
unrelated bot:mlx:retest |
Mellanox CI: FAILED on 2 of 25 workers (click for details)Note: the logs will be deleted after 27-Nov-2019
|
bot:mlx:retest |
Mellanox CI: FAILED on 3 of 25 workers (click for details)Note: the logs will be deleted after 28-Nov-2019
|
infra issues |
Mellanox CI: PASSED on 25 workers (click for details)Note: the logs will be deleted after 29-Nov-2019
|
NEWS: Added 1.15.0-rc4 section.
…os_v1.15.x BUILD: Readthedocs - add OS (v1.15.x)
UCS/SYS/TOPO: Added bw estimation for Sapphire Rapids family - v1.15.x
NEWS: Updated 1.15.0-rc4 section - v1.15.x
…v1.15.x AZP: Fix user-defined var setters - v1.15.x
This reverts commit 38fa027.
…rs-v1.15.x Revert "AZP: Fix io_demo var access - v1.15.x"
UCP: Fix ep config race v1.15.x
NEWS: Added 1.15.0-rc5 section.
…ch-v1.15.x AZP/RELEASE: Fix launch condition-v1.15.x
NEWS: Updated RC5 date.
…ix_1.15.x UCP/RNDV: Do not use recv ppln with generic send buf - v1.15.x
…-v1.15.x NEWS: Add 1.15.0-rc6
NEWS: Added 1.15.0 section.
In some cases such as isolated build environments (containers) or non-Linux based system, /sys is missing. This change provides alternative code that uses the SIOCGIFCONF ioctl to get the names of the available TCP network interfaces.
f6b9d22
to
d62b52d
Compare
What
This change provides alternative code that uses the
SIOCGIFCONF
ioctl to get the names of the available TCP network interfaces.Why ?
In some cases such as isolated build environments (as found in GNU Guix), containers, or non-Linux based system,
/sys
is missing.How ?
Using the old, portable
SIOCGIFCONF
ioctl.It may be that the
SIOCGIFCONF
can in fact replace the/sys
-based code since the information returned should be the same. WDYT?