diff options
author | Dan Williams <dan.j.williams@intel.com> | 2013-12-30 15:37:29 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2014-09-28 10:05:16 -0400 |
commit | 7bced397510ab569d31de4c70b39e13355046387 (patch) | |
tree | faa4067a53e42acffc752e9a153e7dbaed4126e5 /include/net/tcp.h | |
parent | 08223d80df38e666a42d7c82eb340db55c6e03bd (diff) |
net_dma: simple removal
Per commit "77873803363c net_dma: mark broken" net_dma is no longer used
and there is no plan to fix it.
This is the mechanical removal of bits in CONFIG_NET_DMA ifdef guards.
Reverting the remainder of the net_dma induced changes is deferred to
subsequent patches.
Marked for stable due to Roman's report of a memory leak in
dma_pin_iovec_pages():
https://lkml.org/lkml/2014/9/3/177
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: David Whipple <whipple@securedatainnovations.ch>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: <stable@vger.kernel.org>
Reported-by: Roman Gushchin <klamm@yandex-team.ru>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 8c4dd63134d4..2c2f24ffa383 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <linux/cache.h> | 27 | #include <linux/cache.h> |
28 | #include <linux/percpu.h> | 28 | #include <linux/percpu.h> |
29 | #include <linux/skbuff.h> | 29 | #include <linux/skbuff.h> |
30 | #include <linux/dmaengine.h> | ||
31 | #include <linux/crypto.h> | 30 | #include <linux/crypto.h> |
32 | #include <linux/cryptohash.h> | 31 | #include <linux/cryptohash.h> |
33 | #include <linux/kref.h> | 32 | #include <linux/kref.h> |
@@ -267,7 +266,6 @@ extern int sysctl_tcp_adv_win_scale; | |||
267 | extern int sysctl_tcp_tw_reuse; | 266 | extern int sysctl_tcp_tw_reuse; |
268 | extern int sysctl_tcp_frto; | 267 | extern int sysctl_tcp_frto; |
269 | extern int sysctl_tcp_low_latency; | 268 | extern int sysctl_tcp_low_latency; |
270 | extern int sysctl_tcp_dma_copybreak; | ||
271 | extern int sysctl_tcp_nometrics_save; | 269 | extern int sysctl_tcp_nometrics_save; |
272 | extern int sysctl_tcp_moderate_rcvbuf; | 270 | extern int sysctl_tcp_moderate_rcvbuf; |
273 | extern int sysctl_tcp_tso_win_divisor; | 271 | extern int sysctl_tcp_tso_win_divisor; |
@@ -1023,12 +1021,6 @@ static inline void tcp_prequeue_init(struct tcp_sock *tp) | |||
1023 | tp->ucopy.len = 0; | 1021 | tp->ucopy.len = 0; |
1024 | tp->ucopy.memory = 0; | 1022 | tp->ucopy.memory = 0; |
1025 | skb_queue_head_init(&tp->ucopy.prequeue); | 1023 | skb_queue_head_init(&tp->ucopy.prequeue); |
1026 | #ifdef CONFIG_NET_DMA | ||
1027 | tp->ucopy.dma_chan = NULL; | ||
1028 | tp->ucopy.wakeup = 0; | ||
1029 | tp->ucopy.pinned_list = NULL; | ||
1030 | tp->ucopy.dma_cookie = 0; | ||
1031 | #endif | ||
1032 | } | 1024 | } |
1033 | 1025 | ||
1034 | bool tcp_prequeue(struct sock *sk, struct sk_buff *skb); | 1026 | bool tcp_prequeue(struct sock *sk, struct sk_buff *skb); |