[hermon] Use circular event queue

Avoid memory leak of untreated events by having circular event queue
operation.

Signed-off-by: Itay Gazit <itaygazit@gmail.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Itay Gazit
2011-02-17 01:25:09 +00:00
committed by Michael Brown
parent 399be05865
commit 1b84a80442
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -724,7 +724,7 @@ struct hermon_event_queue {
*
* This is a policy decision.
*/
#define HERMON_NUM_EQES 4
#define HERMON_NUM_EQES 8
/** A Hermon resource bitmask */
typedef uint32_t hermon_bitmask_t;