Revision 11b4aa03b212cbaa969df25e723fbd400a6e24b9 authored by Lennert Buytenhek on 18 November 2008, 04:28:58 UTC, committed by David S. Miller on 20 November 2008, 09:39:52 UTC
When mv643xx_eth allocates skbuffs, it adds 'dma_get_cache_alignment() - 1' to the length it needs, so that it can align the skb's ->data pointer to a cache boundary. When checking whether a transmitted skbuff can be reused as a receive buffer, these bytes needs to be included into the minimum bound for the recycle check. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bcb3336
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 335 bytes |
compat.c | -rw-r--r-- | 17.0 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
ipc_sysctl.c | -rw-r--r-- | 6.9 KB |
ipcns_notifier.c | -rw-r--r-- | 2.2 KB |
mqueue.c | -rw-r--r-- | 30.3 KB |
msg.c | -rw-r--r-- | 20.8 KB |
msgutil.c | -rw-r--r-- | 2.3 KB |
namespace.c | -rw-r--r-- | 2.5 KB |
sem.c | -rw-r--r-- | 33.8 KB |
shm.c | -rw-r--r-- | 25.2 KB |
util.c | -rw-r--r-- | 23.0 KB |
util.h | -rw-r--r-- | 4.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...