You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
9p: rdma: RDMA Transport Support for 9P
This patch implements the RDMA transport provider for 9P. It allows mounts to be performed over iWARP and IB capable network interfaces. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Latchesar Ionkov <lionkov@lanl.gov>
This commit is contained in:
committed by
Eric Van Hensbergen
parent
ea2e7996fc
commit
fc79d4b104
@@ -206,6 +206,7 @@ int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst);
|
||||
struct p9_req_t *p9_tag_lookup(struct p9_client *, u16);
|
||||
void p9_client_cb(struct p9_client *c, struct p9_req_t *req);
|
||||
|
||||
int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int);
|
||||
int p9stat_read(char *, int, struct p9_wstat *, int);
|
||||
void p9stat_free(struct p9_wstat *);
|
||||
|
||||
|
||||
@@ -20,6 +20,12 @@ config NET_9P_VIRTIO
|
||||
This builds support for a transports between
|
||||
guest partitions and a host partition.
|
||||
|
||||
config NET_9P_RDMA
|
||||
depends on NET_9P && INFINIBAND && EXPERIMENTAL
|
||||
tristate "9P RDMA Transport (Experimental)"
|
||||
help
|
||||
This builds support for a RDMA transport.
|
||||
|
||||
config NET_9P_DEBUG
|
||||
bool "Debug information"
|
||||
depends on NET_9P
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
obj-$(CONFIG_NET_9P) := 9pnet.o
|
||||
obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
|
||||
obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
|
||||
|
||||
9pnet-objs := \
|
||||
mod.o \
|
||||
@@ -11,3 +12,6 @@ obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
|
||||
|
||||
9pnet_virtio-objs := \
|
||||
trans_virtio.o \
|
||||
|
||||
9pnet_rdma-objs := \
|
||||
trans_rdma.o \
|
||||
|
||||
712
net/9p/trans_rdma.c
Normal file
712
net/9p/trans_rdma.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user