cvs commit: src/sys/dev/bge if_bge.c

Scott Long scottl at FreeBSD.org
Mon Oct 18 19:42:49 PDT 2004


scottl      2004-10-19 02:42:49 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c 
  Log:
  Use and alignment of 1 instead of ETHER_ALIGN for rx and tx buffers and jumbo
  frames.  BGE hardware with the rx alignment bug will still be handled by the
  calls to m_adj() that already exist.  m_adj() is probably better suited for
  this task anyways.  Just as with if_em, this saves a malloc + several locks
  per packet and prevents unneeded data copying within busdma.
  
  Revision  Changes    Path
  1.76      +2 -2      src/sys/dev/bge/if_bge.c


More information about the cvs-all mailing list