diff options
| author | Itay Gazit | 2011-02-08 14:06:30 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-02-17 02:25:10 +0100 |
| commit | 0e878b30fe59041d3f86cf87d7a93d700dabfda6 (patch) | |
| tree | 68dddc4705449b8aa273f5aa35033927933ebaf8 /src/drivers/infiniband/hermon.c | |
| parent | [hermon] Use circular event queue (diff) | |
| download | ipxe-0e878b30fe59041d3f86cf87d7a93d700dabfda6.tar.gz ipxe-0e878b30fe59041d3f86cf87d7a93d700dabfda6.tar.xz ipxe-0e878b30fe59041d3f86cf87d7a93d700dabfda6.zip | |
[hermon] Force link speed to SDR
SDR link comes up much faster than other speeds.
Signed-off-by: Itay Gazit <itaygazit@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/hermon.c')
| -rw-r--r-- | src/drivers/infiniband/hermon.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index 6a1ca8e50..a67c67871 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -1969,17 +1969,20 @@ static int hermon_open ( struct ib_device *ibdev ) { /* Set port parameters */ memset ( &set_port, 0, sizeof ( set_port ) ); - MLX_FILL_7 ( &set_port.ib, 0, + MLX_FILL_8 ( &set_port.ib, 0, mmc, 1, mvc, 1, mp, 1, mg, 1, mtu_cap, IB_MTU_2048, vl_cap, IB_VL_0, - rcm, 1 ); + rcm, 1, + lss, 1 ); MLX_FILL_2 ( &set_port.ib, 10, max_pkey, 1, max_gid, 1 ); + MLX_FILL_1 ( &set_port.ib, 28, + link_speed_supported, 1 ); if ( ( rc = hermon_cmd_set_port ( hermon, 0, ibdev->port, &set_port ) ) != 0 ) { DBGC ( hermon, "Hermon %p port %d could not set port: %s\n", |
