4 #define XSEGBD_NAME "xsegbd"
6 #define XSEGBD_SEGMENT_NAMELEN 32
7 #define XSEGBD_TARGET_NAMELEN 127
9 #include <linux/kernel.h>
10 #include <linux/types.h>
11 #include <xseg/xseg.h>
15 char name[XSEGBD_SEGMENT_NAMELEN];
16 struct xseg_config config;
20 struct xsegbd_device {
22 struct request_queue *blk_queue;
28 uint32_t src_portno, dst_portno, nr_requests;
29 struct xq blk_queue_pending;
30 struct xsegbd *xsegbd;
32 struct request **blk_req_pending;
34 struct list_head node;
35 char name[XSEGBD_TARGET_NAMELEN + 1];