svn commit: r239940 - head/sys/dev/ixgbe

2012-08-31 Thread Scott Long
Author: scottl Date: Fri Aug 31 10:07:38 2012 New Revision: 239940 URL: http://svn.freebsd.org/changeset/base/239940 Log: Heavily optimize the case of small RX packets of 160 bytes or less. For this case, allocate a plain mbuf and copy the frame into it, then send the copy up the stack,

Re: svn commit: r239940 - head/sys/dev/ixgbe

2012-08-31 Thread Gleb Smirnoff
Scott, On Fri, Aug 31, 2012 at 10:07:38AM +, Scott Long wrote: S +/* S + * Optimized bcopy thanks to Luigi Rizzo's investigative work. Assumes S + * non-overlapping regions and 32-byte padding on both src and dst. S + */ S +static __inline int S +ixgbe_bcopy(void *_src, void *_dst, int l)