|
@@ -30,11 +30,6 @@ Skeleton NIC driver for Etherboot
|
30
|
30
|
#include "arbel.h"
|
31
|
31
|
|
32
|
32
|
|
33
|
|
-struct ib_address_vector hack_ipoib_bcast_av;
|
34
|
|
-
|
35
|
|
-
|
36
|
|
-
|
37
|
|
-
|
38
|
33
|
|
39
|
34
|
|
40
|
35
|
|
|
@@ -980,8 +975,6 @@ static int arbel_complete ( struct ib_device *ibdev,
|
980
|
975
|
virt_to_bus ( iobuf->data ) );
|
981
|
976
|
assert ( MLX_GET ( &recv_wqe->data[0], byte_count ) ==
|
982
|
977
|
iob_tailroom ( iobuf ) );
|
983
|
|
- DBG ( "CPQ %lx QPN %lx WQE %x\n", cq->cqn, qp->qpn, wqe_idx );
|
984
|
|
- // DBG_HD ( iobuf, sizeof ( *iobuf ) );
|
985
|
978
|
MLX_FILL_1 ( &recv_wqe->data[0], 0, byte_count, 0 );
|
986
|
979
|
MLX_FILL_1 ( &recv_wqe->data[0], 1,
|
987
|
980
|
l_key, ARBEL_INVALID_LKEY );
|
|
@@ -1368,18 +1361,6 @@ static int arbel_probe ( struct pci_device *pci,
|
1368
|
1361
|
goto err_get_pkey;
|
1369
|
1362
|
}
|
1370
|
1363
|
|
1371
|
|
- struct ud_av_st *bcast_av = ib_data.bcast_av;
|
1372
|
|
- struct arbelprm_ud_address_vector *bav =
|
1373
|
|
- ( struct arbelprm_ud_address_vector * ) &bcast_av->av;
|
1374
|
|
- struct ib_address_vector *av = &hack_ipoib_bcast_av;
|
1375
|
|
- av->dest_qp = bcast_av->dest_qp;
|
1376
|
|
- av->qkey = bcast_av->qkey;
|
1377
|
|
- av->dlid = MLX_GET ( bav, rlid );
|
1378
|
|
- av->rate = ( MLX_GET ( bav, max_stat_rate ) ? 1 : 4 );
|
1379
|
|
- av->sl = MLX_GET ( bav, sl );
|
1380
|
|
- av->gid_present = 1;
|
1381
|
|
- memcpy ( &av->gid, ( ( void * ) bav ) + 16, 16 );
|
1382
|
|
-
|
1383
|
1364
|
/* Add IPoIB device */
|
1384
|
1365
|
if ( ( rc = ipoib_probe ( ibdev ) ) != 0 ) {
|
1385
|
1366
|
DBGC ( arbel, "Arbel %p could not add IPoIB device: %s\n",
|