smc_rx.h 472 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Shared Memory Communications over RDMA (SMC-R) and RoCE
  4. *
  5. * Manage RMBE
  6. *
  7. * Copyright IBM Corp. 2016
  8. *
  9. * Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
  10. */
  11. #ifndef SMC_RX_H
  12. #define SMC_RX_H
  13. #include <linux/socket.h>
  14. #include <linux/types.h>
  15. #include "smc.h"
  16. void smc_rx_init(struct smc_sock *smc);
  17. int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, size_t len,
  18. int flags);
  19. #endif /* SMC_RX_H */