mirror of https://github.com/ipxe/ipxe.git
[hermon] Adjust Ethernet work queue size
Hermon Ethernet work queues have more RX than TX entries, unlike most other drivers. This is possibly the source of some stochastic deadlocks previously experienced with this driver. Update the sizes to be in line with other drivers, and make them slightly larger for better performance. These new queue sizes have been found to work well with ConnectX-3 hardware. Signed-off-by: Christian Iversen <ci@iversenit.dk> Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/245/head
parent
e62c3e3513
commit
d948ac6c61
|
@ -3274,13 +3274,13 @@ static struct hermon_port_type hermon_port_type_ib = {
|
|||
*/
|
||||
|
||||
/** Number of Hermon Ethernet send work queue entries */
|
||||
#define HERMON_ETH_NUM_SEND_WQES 2
|
||||
#define HERMON_ETH_NUM_SEND_WQES 16
|
||||
|
||||
/** Number of Hermon Ethernet receive work queue entries */
|
||||
#define HERMON_ETH_NUM_RECV_WQES 4
|
||||
#define HERMON_ETH_NUM_RECV_WQES 8
|
||||
|
||||
/** Number of Hermon Ethernet completion entries */
|
||||
#define HERMON_ETH_NUM_CQES 8
|
||||
#define HERMON_ETH_NUM_CQES 32
|
||||
|
||||
/**
|
||||
* Transmit packet via Hermon Ethernet device
|
||||
|
|
Loading…
Reference in New Issue