diff options
Diffstat (limited to 'drivers/infiniband/ulp/isert/ib_isert.h')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h index c02ada57d7f5..87d994de8c91 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.h +++ b/drivers/infiniband/ulp/isert/ib_isert.h | |||
@@ -60,7 +60,7 @@ | |||
60 | 60 | ||
61 | #define ISER_RX_PAD_SIZE (ISCSI_DEF_MAX_RECV_SEG_LEN + 4096 - \ | 61 | #define ISER_RX_PAD_SIZE (ISCSI_DEF_MAX_RECV_SEG_LEN + 4096 - \ |
62 | (ISER_RX_PAYLOAD_SIZE + sizeof(u64) + sizeof(struct ib_sge) + \ | 62 | (ISER_RX_PAYLOAD_SIZE + sizeof(u64) + sizeof(struct ib_sge) + \ |
63 | sizeof(struct ib_cqe))) | 63 | sizeof(struct ib_cqe) + sizeof(bool))) |
64 | 64 | ||
65 | #define ISCSI_ISER_SG_TABLESIZE 256 | 65 | #define ISCSI_ISER_SG_TABLESIZE 256 |
66 | 66 | ||
@@ -85,6 +85,7 @@ struct iser_rx_desc { | |||
85 | u64 dma_addr; | 85 | u64 dma_addr; |
86 | struct ib_sge rx_sg; | 86 | struct ib_sge rx_sg; |
87 | struct ib_cqe rx_cqe; | 87 | struct ib_cqe rx_cqe; |
88 | bool in_use; | ||
88 | char pad[ISER_RX_PAD_SIZE]; | 89 | char pad[ISER_RX_PAD_SIZE]; |
89 | } __packed; | 90 | } __packed; |
90 | 91 | ||