Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3026c19a authored by Steve Wise's avatar Steve Wise Committed by Roland Dreier
Browse files

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: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 7ab1a2b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -176,7 +176,7 @@ struct t3_send_wr {
	struct t3_sge sgl[T3_MAX_SGE];	/* 4+ */
	struct t3_sge sgl[T3_MAX_SGE];	/* 4+ */
};
};


#define T3_MAX_FASTREG_DEPTH 24
#define T3_MAX_FASTREG_DEPTH 10
#define T3_MAX_FASTREG_FRAG 10
#define T3_MAX_FASTREG_FRAG 10


struct t3_fastreg_wr {
struct t3_fastreg_wr {