[PATCH net-next 0/6] hv_netvsc: minor optimizations

Stephen Hemminger stephen at networkplumber.org
Fri Dec 1 19:01:43 UTC 2017


These are a set of local optimizations the Hyper-V networking driver.
Also include a vmbus patch in this set, because it depends on the
netvsc that last used that function.

Stephen Hemminger (6):
  hv_netvsc: drop unused macros
  hv_netvsc: don't need local xmit_more
  hv_netvsc: replace divide with mask when computing padding
  hv_netvsc: use reciprocal divide to speed up percent calculation
  hv_netvsc: optimize initialization of RNDIS header
  vmbus: make hv_get_ringbuffer_availbytes local

 drivers/hv/ring_buffer.c          | 23 ++++++++++++
 drivers/net/hyperv/hyperv_net.h   | 32 ++---------------
 drivers/net/hyperv/netvsc.c       | 26 ++++++--------
 drivers/net/hyperv/netvsc_drv.c   | 74 ++++++++++++++++++---------------------
 drivers/net/hyperv/rndis_filter.c |  4 +--
 include/linux/hyperv.h            | 22 ------------
 6 files changed, 73 insertions(+), 108 deletions(-)

-- 
2.11.0



More information about the devel mailing list