summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_core.h
diff options
context:
space:
mode:
authorStefan Raspl <stefan.raspl@linux.ibm.com>2018-05-03 18:12:38 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-04 11:45:06 -0400
commit2ef4f27ad00dc9d36cadb81fce9d07366d579451 (patch)
treec0710e8cd17977812e62f51328ef228838ad1a02 /net/smc/smc_core.h
parentb51fa1b135fbfc89e34d90b5bab563745d94186f (diff)
downloadlinux-2ef4f27ad00dc9d36cadb81fce9d07366d579451.tar.gz
linux-2ef4f27ad00dc9d36cadb81fce9d07366d579451.tar.bz2
linux-2ef4f27ad00dc9d36cadb81fce9d07366d579451.zip
smc: allocate RMBs as compound pages
Preparatory work for splice() support. Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>< Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_core.h')
-rw-r--r--net/smc/smc_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index 70ef4f47dc8d..fca8624e5e71 100644
--- a/net/smc/smc_core.h
+++ b/net/smc/smc_core.h
@@ -120,6 +120,7 @@ struct smc_link {
struct smc_buf_desc {
struct list_head list;
void *cpu_addr; /* virtual address of buffer */
+ struct page *pages;
struct sg_table sgt[SMC_LINKS_PER_LGR_MAX];/* virtual buffer */
struct ib_mr *mr_rx[SMC_LINKS_PER_LGR_MAX];
/* for rmb only: memory region