diff options
author | Stefan Roscher <ossrosch@linux.vnet.ibm.com> | 2008-04-30 00:46:53 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-30 00:46:53 +0400 |
commit | d227fa7288adebe5ba37fa8e4a589c977d4e4a34 (patch) | |
tree | 8e0f080fc78f0342b5fd2531615ea525333d8d25 /drivers/net/ixgbe | |
parent | f56bcd8013566d4ad4759ae5fc85a6660e4655c7 (diff) | |
download | linux-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/ixgbe')
0 files changed, 0 insertions, 0 deletions