Skip to content

Conversation

Brian-Perkins
Copy link
Contributor

Linux netvsc sends an OID to stop receiving packets on vmbus channel close. Example scenarios: hibernation and MTU change. Prior to opening a new channel and processing the packets, netvsc checks that there are no pending packets. If there are, netvsc logs and error and is unable to recover. We observe the error: hv_netvsc eth0: Ring buffer not empty after closing rndis in the guest syslog.

Modifying netvsp to handle the OID and drop incoming RX traffic. This will allow for netvsc to successfully close and re-open the vmbus channel, even under heavy incoming traffic.

Cherry-pick of #1873 and #1949

erfrimod and others added 2 commits September 4, 2025 21:51
Linux netvsc sends an OID to stop receiving packets on vmbus channel
close. Example scenarios: hibernation and MTU change. Prior to opening a
new channel and processing the packets, netvsc checks that there are no
pending packets. If there are, netvsc logs and error and is unable to
recover. We observe the error: `hv_netvsc eth0: Ring buffer not empty
after closing rndis` in the guest syslog.

Modifying netvsp to handle the OID and stop processing RX traffic. This
will allow for netvsc to successfully close and re-open the vmbus
channel, even under heavy incoming traffic.

---------

Co-authored-by: Sunil Muthuswamy <[email protected]>
Filtered packets should be dropped instead of queued for later delivery.
This fixes an issue where an ignored packet will continuously wake the
network stack, only to be ignored again.

---------

Co-authored-by: Brian Perkins <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings September 4, 2025 22:02
@Brian-Perkins Brian-Perkins requested a review from a team as a code owner September 4, 2025 22:02
@Brian-Perkins Brian-Perkins requested review from erfrimod and removed request for Copilot September 4, 2025 22:02
@github-actions github-actions bot added the release_2505 Targets the release/2505 branch. label Sep 4, 2025
@Brian-Perkins Brian-Perkins merged commit 9e1773c into microsoft:release/2505 Sep 5, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_2505 Targets the release/2505 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants