rds.h (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) rds.h (f1693c63ab133d16994cc50f773982b5905af264)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _RDS_RDS_H
3#define _RDS_RDS_H
4
5#include <net/sock.h>
6#include <linux/scatterlist.h>
7#include <linux/highmem.h>
8#include <rdma/rdma_cm.h>

--- 465 unchanged lines hidden (view full) ---

474 * through control messages.
475 */
476struct rds_notifier {
477 struct list_head n_list;
478 uint64_t n_user_token;
479 int n_status;
480};
481
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _RDS_RDS_H
3#define _RDS_RDS_H
4
5#include <net/sock.h>
6#include <linux/scatterlist.h>
7#include <linux/highmem.h>
8#include <rdma/rdma_cm.h>

--- 465 unchanged lines hidden (view full) ---

474 * through control messages.
475 */
476struct rds_notifier {
477 struct list_head n_list;
478 uint64_t n_user_token;
479 int n_status;
480};
481
482/* Available as part of RDS core, so doesn't need to participate
483 * in get_preferred transport etc
484 */
485#define RDS_TRANS_LOOP 3
486
482/**
483 * struct rds_transport - transport specific behavioural hooks
484 *
485 * @xmit: .xmit is called by rds_send_xmit() to tell the transport to send
486 * part of a message. The caller serializes on the send_sem so this
487 * doesn't need to be reentrant for a given conn. The header must be
488 * sent before the data payload. .xmit must be prepared to send a
489 * message with no data payload. .xmit should return the number of

--- 467 unchanged lines hidden ---
487/**
488 * struct rds_transport - transport specific behavioural hooks
489 *
490 * @xmit: .xmit is called by rds_send_xmit() to tell the transport to send
491 * part of a message. The caller serializes on the send_sem so this
492 * doesn't need to be reentrant for a given conn. The header must be
493 * sent before the data payload. .xmit must be prepared to send a
494 * message with no data payload. .xmit should return the number of

--- 467 unchanged lines hidden ---