Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/netvsc: split send buffers from Tx descriptors
[ upstream commit cc02518 ] The VMBus has reserved transmit area (per device) and transmit descriptors (per queue). The previous code was always having a 1:1 mapping between send buffers and descriptors. This can lead to one queue starving another and also buffer bloat. Change to working more like FreeBSD where there is a pool of transmit descriptors per queue. If send buffer is not available then no aggregation happens but the queue can still drain. Fixes: 4e9c73e ("net/netvsc: add Hyper-V network device") Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
- Loading branch information