cvs commit: src/sys/pci if_sis.c

Mike Silbersack silby at FreeBSD.org
Sat Mar 29 09:50:40 PST 2003


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


More information about the cvs-src mailing list