Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 21:22:00 +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:  <201010242122.o9OLMUof030234@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-10-24 21:22:00 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/usb/net      if_axe.c 
  Log:
  SVN rev 214297 on 2010-10-24 21:22:00Z by yongari
  
  MFC r213423:
    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.12.2.9  +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?201010242122.o9OLMUof030234>