kernel - NFE - Align packet data payload
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2010 05:49:59 +0000 (21:49 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2010 05:49:59 +0000 (21:49 -0800)
commit0671590b0715ce9a09aa441e8ea2395b188ceac2
treefd6b7c4d1d90a3c261f588b8820fb649c393b1ac
parent86df66c38ff9ea1b765fba346993854b65bf6073
kernel - NFE - Align packet data payload

* Offset the RX ring DMA by 2 bytes so the IP header, TCP header, and
  payload is aligned after the 6-byte MAC header.

  EM does the same thing.

* Reduces NFS overhead during bcopy()s and also avoids triggering
  nfs_realign.
sys/dev/netif/nfe/if_nfe.c