Skip to content

Linux NIC speed type made long to fit the actual value#32223

Merged
ManickaP merged 5 commits intodotnet:masterfrom
ManickaP:mapichov/18090_nic_speed_test_fail
Feb 14, 2020
Merged

Linux NIC speed type made long to fit the actual value#32223
ManickaP merged 5 commits intodotnet:masterfrom
ManickaP:mapichov/18090_nic_speed_test_fail

Conversation

@ManickaP
Copy link
Member

@ManickaP ManickaP commented Feb 13, 2020

Fixes #18090

Linux pal level struct for network info had only int32 field for speed. Even though our public API has it as long. The problem was in value overflowing in calculation MBits --> Bits.

@ManickaP ManickaP added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Feb 13, 2020
@ManickaP
Copy link
Member Author

/azp list

@ManickaP ManickaP changed the title WIP Mapichov/18090 nic speed test fail Linux NIC speed type made long to fit the actual value Feb 13, 2020
@ManickaP
Copy link
Member Author

ManickaP commented Feb 13, 2020

CI Failures:

@ManickaP
Copy link
Member Author

/azp run runtime-libraries outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ManickaP ManickaP removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Feb 13, 2020
@ManickaP
Copy link
Member Author

According to AzDO, the System.Net.NetworkInformation.Tests.NetworkInterfaceBasicTest.BasicTest_AccessInstanceProperties_NoExceptions_Linux is passing on all platforms.

@ManickaP ManickaP marked this pull request as ready for review February 13, 2020 20:35
@ManickaP ManickaP requested review from a team and wfurt February 13, 2020 20:35
Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with change @scalablecory suggested.

@ManickaP ManickaP merged commit fd6bee6 into dotnet:master Feb 14, 2020
@ManickaP ManickaP deleted the mapichov/18090_nic_speed_test_fail branch February 14, 2020 12:54
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: System.Net.NetworkInformation.Tests.NetworkInterfaceBasicTest/BasicTest_AccessInstanceProperties_NoExceptions_Linux

4 participants