[PATCH net-next 0/6] netvsc: small cleanups

Stephen Hemminger stephen at networkplumber.org
Thu Jun 8 23:21:17 UTC 2017


These are all small optimizations found during development of later features.

Stephen Hemminger (6):
  netvsc: optimize calculation of number of slots
  netvsc: use hv_get_bytes_to_read
  netvsc: use typed pointer for internal state
  netvsc: mark error cases as unlikely
  netvsc: pass net_device to netvsc_init_buf and netvsc_connect_vsp
  netvsc: fold in get_outbound_net_device

 drivers/net/hyperv/hyperv_net.h |  3 +--
 drivers/net/hyperv/netvsc.c     | 49 ++++++++++++-------------------------
 drivers/net/hyperv/netvsc_drv.c | 53 ++++++++++-------------------------------
 3 files changed, 29 insertions(+), 76 deletions(-)

-- 
2.11.0



More information about the devel mailing list