Skip to content

Commit 3026c19

Browse files
Steve WiseRoland Dreier
authored andcommitted
RDMA/cxgb3: Limit fast register size based on T3 limitations
T3 firmware only supports one WRs worth of page list for fast register work requests. The driver currently allows 2 WRs worth, which doesn't work for T3, so reduce the limit in the driver. Signed-off-by: Steve Wise <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
1 parent 7ab1a2b commit 3026c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/cxgb3/cxio_wr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct t3_send_wr {
176176
struct t3_sge sgl[T3_MAX_SGE]; /* 4+ */
177177
};
178178

179-
#define T3_MAX_FASTREG_DEPTH 24
179+
#define T3_MAX_FASTREG_DEPTH 10
180180
#define T3_MAX_FASTREG_FRAG 10
181181

182182
struct t3_fastreg_wr {

0 commit comments

Comments
 (0)