Re: PCI DMA to small buffers on cache-incoherent arch

David S. Miller (davem@redhat.com)
Thu, 13 Jun 2002 21:41:40 -0700 (PDT)


From: Oliver Neukum <oliver@neukum.name>
Date: Wed, 12 Jun 2002 14:08:26 +0200

That means that all buffers must be allocated seperately.
Is it worth that ? How about skbuffs ?

skbuffs are fine, they are already minimally aligned to
SMP_CACHE_BYTES and also have the same minimum length.

The only problematic case are as in the eepro100.c driver where it
tries to use part of the skbuff data area for the receive descriptor.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/