Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 02:21:26 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/em if_em.c
Message-ID:  <200608140221.k7E2LQwW008604@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2006-08-14 02:21:26 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c 
  Log:
  Make em(4) handle too many fragmented frame with m_defrag(9).
  Previously em(4) requeued the failed mbuf chains from
  bus_dmamap_load_mbuf_sg(9) failure to resend it later. However,
  bus_dmamap_load_mbuf_sg(9) may never complete its request as the
  fragmented frames can have more than EM_MAX_SCATTER segments.
  To handle the above EFBIG case, defragment the frame with m_defrag(9)
  and free the mbuf chain if it can't deframent the chain due to
  resource shortage.
  
  Reviewed by     glebius (with improvements)
  
  Revision  Changes    Path
  1.130     +33 -12    src/sys/dev/em/if_em.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608140221.k7E2LQwW008604>