[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:
committed by
Michael Brown
parent
399be05865
commit
1b84a80442
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user