On Mon, 28 May 2012 14:04:04 +0300 Roi Dayan <roid@xxxxxxxxxxxx> wrote: > The number of CQ entries passed to ibv_create_cq() was copied from > the IB device attributes (device_attr.max_cqe). > Some versions of IB stack report a very large number there. > Using this number may lead to consumption of unnecessary resources > or even failure to create CQ. > This patch limits the number of CQ entries to a reasonable value. > > Signed-off-by: Roi Dayan <roid@xxxxxxxxxxxx> > --- > usr/iscsi/iser.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html