/* SPDX-License-Identifier: GPL-2.0 */ /* * Shared Memory Communications over RDMA (SMC-R) and RoCE * * Manage RMBE * * Copyright IBM Corp. 2016 * * Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com> */ #ifndef SMC_RX_H #define SMC_RX_H #include <linux/socket.h> #include <linux/types.h> #include "smc.h" void smc_rx_init(struct smc_sock *smc); int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, struct pipe_inode_info *pipe, size_t len, int flags); int smc_rx_wait(struct smc_sock *smc, long *timeo, int (*fcrit)(struct smc_connection *conn));
static inline int smc_rx_data_available(struct smc_connection *conn) { return atomic_read(&conn->bytes_to_rcv); }Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| Stefan Raspl | 21 | 100.00% | 1 | 100.00% |
| Total | 21 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Ursula Braun | 48 | 48.00% | 1 | 20.00% |
| Stefan Raspl | 39 | 39.00% | 2 | 40.00% |
| Ursula Braun-Krahl | 12 | 12.00% | 1 | 20.00% |
| Greg Kroah-Hartman | 1 | 1.00% | 1 | 20.00% |
| Total | 100 | 100.00% | 5 | 100.00% |