[haiku-bugs] Re: [Haiku] #9624: AX88772B USB Ethernet. Read::MISMATCH of the frame length

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Apr 2013 20:45:54 -0000

#9624: AX88772B USB Ethernet. Read::MISMATCH of the frame length
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  kallisti5
       Type:  bug                       |     Status:  assigned
   Priority:  normal                    |  Milestone:  R1
  Component:  Drivers/Network/usb_asix  |    Version:  R1/Development
 Resolution:                            |   Keywords:  MISMATCH
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by phoudoin):

 Well, when compared to FreeBSD's if_axe.c/if_axeregs.h, it seems that each
 frame is 16bits aligned, which can explain these 153 vs 154 mismatches.

 I'm also worried that the device is supposed to send frames in burst mode,
 but we only queue an USB bulk read for one frame max size (1536 or
 something).
 In such situation, if several small (think UDP) ethernet frames are really
 pending, the device will return *several* frames in one bulk read, but we
 only use the first one.
 It's clearly broken.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9624#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: