CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2015/08/26 03:17:20

Modified files:
        sys/dev/pci    : if_em.c if_em.h 

Log message:
Get rid if em_align.  This approach used to make sense, but now that the
hardware rx mtu always gets set to the maximum supported value we will hit
it for every received packet.  Instead, use a larger mbuf cluster size on
strict alignment architectures such that we can always m_adj to make sure the
packets are properly aligned.  This wastes some memory but simplifies things
considerably.  Hopefully we can reduce the spillage in the near future by
taking advantage of recent improvements in the pool code.

ok mpi@, mikeb@, dlg@

Reply via email to