diff options
author | Dave Jiang <dave.jiang@intel.com> | 2012-04-05 01:10:46 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2012-04-06 00:27:12 +0200 |
commit | a2bd1140a264b561e38d99e656cd843c2d840e86 (patch) | |
tree | 9c9f19dde5c0213a52de0e77c16059062cc6c8a1 /net/ipv6 | |
parent | ioatdma: DMA copy alignment needed to address IOAT DMA silicon errata (diff) | |
download | linux-a2bd1140a264b561e38d99e656cd843c2d840e86.tar.xz linux-a2bd1140a264b561e38d99e656cd843c2d840e86.zip |
netdma: adding alignment check for NETDMA ops
This is the fallout from adding memcpy alignment workaround for certain
IOATDMA hardware. NetDMA will only use DMA engine that can handle byte align
ops.
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 3edd05ae4388..fcb3e4f0010e 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1755,7 +1755,7 @@ process: #ifdef CONFIG_NET_DMA struct tcp_sock *tp = tcp_sk(sk); if (!tp->ucopy.dma_chan && tp->ucopy.pinned_list) - tp->ucopy.dma_chan = dma_find_channel(DMA_MEMCPY); + tp->ucopy.dma_chan = net_dma_find_channel(); if (tp->ucopy.dma_chan) ret = tcp_v6_do_rcv(sk, skb); else |