summaryrefslogtreecommitdiff
path: root/net/smc/smc_tx.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-06-30 14:42:26 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-30 14:42:26 +0300
commitb5f16484dd1c99b63eb986121c2b0fc624182d52 (patch)
tree75c7a211188000f16cd750058b57c5405e722aad /net/smc/smc_tx.h
parentb0402f0113675ad78bc10c839f93a25348dd1f73 (diff)
parent684b89bc39ce4f204b1a2b180f39f2eb36a6b695 (diff)
downloadlinux-b5f16484dd1c99b63eb986121c2b0fc624182d52.tar.xz
Merge branch 'smc-pnetid-and-SMC-D-support'
Ursula Braun says: ==================== smc: pnetid and SMC-D support SMC requires a configured pnet table to map Ethernet interfaces to RoCE adapter ports. For s390 there exists hardware support to group such devices. The first three patches cover the s390 pnetid support, enabling SMC-R usage on s390 without configuring an extra pnet table. SMC currently requires RoCE adapters, and uses RDMA-techniques implemented with IB-verbs. But s390 offers another method for intra-CEC Shared Memory communication. The following seven patches implement a solution to run SMC traffic based on intra-CEC DMA, called SMC-D. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_tx.h')
-rw-r--r--net/smc/smc_tx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/smc_tx.h b/net/smc/smc_tx.h
index 9d2238909fa0..b22bdc5694c4 100644
--- a/net/smc/smc_tx.h
+++ b/net/smc/smc_tx.h
@@ -33,5 +33,7 @@ int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len);
int smc_tx_sndbuf_nonempty(struct smc_connection *conn);
void smc_tx_sndbuf_nonfull(struct smc_sock *smc);
void smc_tx_consumer_update(struct smc_connection *conn, bool force);
+int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len,
+ u32 offset, int signal);
#endif /* SMC_TX_H */