cvs commit: src/sys/pci if_sis.c

From: Mike Silbersack <silby_at_FreeBSD.org>
Date: Sat, 29 Mar 2003 09:50:38 -0800 (PST)
silby       2003/03/29 09:50:38 PST

  FreeBSD src repository

  Modified files:
    sys/pci              if_sis.c 
  Log:
  Have sis_encap use m_defrag if:
  
  1.  The chain passed in is > 31 fragments long
  or
  2.  The chain will not fit in the remaining descriptors without
      defragmentation.
  
  This is slightly less clear than other network drivers because the sis
  chips share one descriptor list for all packets, it seems.
  
  Before this change, a > 127 fragment chain would get stuck in the IFQUEUE
  permanently, bringing all network traffic to a halt.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.66      +25 -1     src/sys/pci/if_sis.c
Received on Sat Mar 29 2003 - 09:50:39 UTC