-
Notifications
You must be signed in to change notification settings - Fork 522
fix: enable Accelerated Networking settings and pick up the right adapter in windows azure function #4585
Conversation
💖 Thanks for opening your first pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should make sure your first commit and PR title start with a semantic prefix. Examples of commit messages with semantic prefixes: - |
Thanks for testing this and getting it working! Will this work as is today, or are there new base vm images that are needed? Can you also update the doc where |
fixes: #2281 |
parts/k8s/windowsazurecnifunc.ps1
Outdated
# If there is more than one adapter, use the first adapter that is assigned an ipaddress. | ||
foreach($na in $nas) | ||
{ | ||
$netIP = Get-NetIPAddress -ifIndex $na.ifIndex -AddressFamily IPv4 -ErrorAction SilentlyContinue -ErrorVariable a |
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.
nit, err
or netIPErr
may be more descriptive names
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.
fixed
@jsturtevant, it requires the right drivers are installed on the vm images to support accelerated Networking if it is set to true. Updated the doc. Please review. Thanks! |
Where do folks get the right drivers? What versions are needed? Will the eventually be in the base Azure Market place images? |
/azp test pr-e2e |
Command 'test' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
@bingbing8 it looks like |
I will work on it later this week. |
The drivers are at Mellanox OFED for Windows - WinOF / WinOF-2. |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run pr-e2e |
Commenter does not have sufficient privileges for PR 4585 in repo Azure/aks-engine |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Looks good, thank you. Let upstream folks decide
/azp pr-e2e |
@bingbing8 can you rebase your changes on top of master and push changes to your PR branch again? |
Command 'pr-e2e' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
@marosset, I am working on it |
… changeing var name and report error before print out netiperror. 3. update doc for the ac setting
8bb0ea3
/azp run pr-e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
Using the new binary built from the rebased code, I deployed a cluster with below windows profile: I can see Mellanox driver show the windows node and traffic through the adapter Name InterfaceDescription ifIndex Status MacAddress LinkSpeed vEthernet (nat) Hyper-V Virtual Ethernet Adapter 14 Up 00-15-5D-28-3F-1C 10 Gbps PS C:\Users\azureuser> Get-NetAdapterStatistics Name ReceivedBytes ReceivedUnicastPackets SentBytes SentUnicastPackets vEthernet (nat) 0 0 5341 0 |
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
/lgtm |
The 1.18 tests have been removed. The rest of the tests have passed going to merge manually. |
Congrats on merging your first pull request! 🎉🎉🎉 |
fix: enable Accelerated Networking settings and pick up the right adapter in windows azure function
Reason for Change:
Enable Accelerated Networking settings and pick up the right adapter in windows azure function
Issue Fixed:
Credit Where Due:
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Requirements:
Notes: