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

Release 2303 #13

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

kahashimoto-ms
Copy link

Updates to the sample RtEth driver.

@kahashimoto-ms
Copy link
Author

@tylerretzlaff is added to the review. #Closed

@@ -271,8 +287,11 @@ IMLow = "Low"
IMMedium = "Medium"
TransmitBuffers = "Transmit Buffers"

RTL8168.DeviceDesc = "Realtek PCIe GBE Family Controller NetAdapter Sample Driver"
Copy link
Author

Choose a reason for hiding this comment

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

Realized that the DeviceDesc and DisplayName should not have been changed. Fixed it.

@kahashimoto-ms
Copy link
Author

@GabrielGravena is added to the review. #Closed

<!-- /Necessary to pick up proper files from local directory when in the IDE-->
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Copy link
Author

Choose a reason for hiding this comment

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

NuGet is used to get the Windows Implementation Library which include the common.h file that is now necessary for this project. It is also the reason for the import on line 45 and for the packages.config file that was added. Not sure if all these changes are necessary or if common.h could have just been included instead.

@kahashimoto-ms
Copy link
Author

kahashimoto-ms commented Mar 30, 2023

Decided to just add the necessary 3 files from Windows Implementation Library instead of using a nuget package to install the entire package when building. If that was a mistake I can undo that work and just go back to the way it was.

… builds with VS. Fix the warning by adding 'UNREFERENCED_PARAMETER'
packet->Layout.Layer2HeaderLength +
packet->Layout.Layer3HeaderLength;

UNREFERENCED_PARAMETER(layer4HeaderOffset);
Copy link
Author

@kahashimoto-ms kahashimoto-ms Mar 31, 2023

Choose a reason for hiding this comment

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

Added this here because when building in release mode layer4HeaderOffset does not get referenced and this was causing a warning. Not sure if there is a better way to deal with it.

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

Successfully merging this pull request may close these issues.

1 participant