Skip to content

Commit df1d615

Browse files
authored
netvsp: batch calls to tx_avail (#2318)
Instead of calling `tx_avail` for each vmbus packet message, accumulate all the packets that are currently in the ring buffer and transmit them at once. This reduces the number of doorbell writes to the mana device. Also, clean up the hot path a bit to avoid a bunch of extra checks. Split the packet path out from the control message path.
1 parent b63bb78 commit df1d615

File tree

1 file changed

+152
-141
lines changed
  • vm/devices/net/netvsp/src

1 file changed

+152
-141
lines changed

0 commit comments

Comments
 (0)