summaryrefslogtreecommitdiff
path: root/drivers/net/3c507.c
diff options
context:
space:
mode:
authorStefan Roscher <ossrosch@linux.vnet.ibm.com>2008-04-30 00:46:53 +0400
committerRoland Dreier <rolandd@cisco.com>2008-04-30 00:46:53 +0400
commitd227fa7288adebe5ba37fa8e4a589c977d4e4a34 (patch)
tree8e0f080fc78f0342b5fd2531615ea525333d8d25 /drivers/net/3c507.c
parentf56bcd8013566d4ad4759ae5fc85a6660e4655c7 (diff)
downloadlinux-d227fa7288adebe5ba37fa8e4a589c977d4e4a34.tar.xz
IB/ehca: Allocate event queue size depending on max number of CQs and QPs
If a lot of QPs fall into Error state at once and the EQ of the respective HCA is too small, it might overrun, causing the eHCA driver to stop processing completion events and calling the application's completion handlers, effectively causing traffic to stop. Fix this by limiting available QPs and CQs to a customizable max count, and determining EQ size based on these counts and a worst-case assumption. Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/3c507.c')
0 files changed, 0 insertions, 0 deletions