Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 20:49:38 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/usb/net if_axe.c
Message-ID:  <201010042050.o94Ko0OQ012725@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-10-04 20:49:38 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb/net      if_axe.c 
  Log:
  SVN rev 213423 on 2010-10-04 20:49:38Z by yongari
  
  Move updating TX packet counter to the inside of send loop. axe(4)
  controllers combine multiple TX requests into single one if there
  is room in TX buffer of controller. Updating TX packet counter at
  the end of TX completion resulted in incorrect TX packet counter as
  axe(4) thought it sent 1 packet. There is no easy way to know how
  many combined TX were completed in the callback.
  Because this change updates TX packet counter before actual
  transmission, it may not be ideal one. But I believe it's better
  than showing fake 8kpps under high TX load. With this change, TX
  shows 221kpps on Linksus USB200M.
  
  Revision  Changes    Path
  1.22      +11 -1     src/sys/dev/usb/net/if_axe.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010042050.o94Ko0OQ012725>