Home | History | Annotate | Download | only in infiniband

Lines Matching defs:ibdev

499  * @v ibdev		Infiniband device
503 static int arbel_mad ( struct ib_device *ibdev, union ib_mad *mad ) {
504 struct arbel *arbel = ib_get_drvdata ( ibdev );
515 if ( ( rc = arbel_cmd_mad_ifc ( arbel, ibdev->port,
543 * @v ibdev Infiniband device
547 static int arbel_create_cq ( struct ib_device *ibdev,
549 struct arbel *arbel = ib_get_drvdata ( ibdev );
645 * @v ibdev Infiniband device
648 static void arbel_destroy_cq ( struct ib_device *ibdev,
650 struct arbel *arbel = ib_get_drvdata ( ibdev );
773 * @v ibdev Infiniband device
777 static int arbel_create_qp ( struct ib_device *ibdev,
779 struct arbel *arbel = ib_get_drvdata ( ibdev );
843 ibdev->port );
908 * @v ibdev Infiniband device
912 static int arbel_modify_qp ( struct ib_device *ibdev,
914 struct arbel *arbel = ib_get_drvdata ( ibdev );
934 * @v ibdev Infiniband device
937 static void arbel_destroy_qp ( struct ib_device *ibdev,
939 struct arbel *arbel = ib_get_drvdata ( ibdev );
1008 * @v ibdev Infiniband device
1014 static int arbel_post_send ( struct ib_device *ibdev,
1018 struct arbel *arbel = ib_get_drvdata ( ibdev );
1047 ud_address_vector.port_number, ibdev->port );
1100 * @v ibdev Infiniband device
1105 static int arbel_post_recv ( struct ib_device *ibdev,
1108 struct arbel *arbel = ib_get_drvdata ( ibdev );
1146 * @v ibdev Infiniband device
1151 static int arbel_complete ( struct ib_device *ibdev,
1154 struct arbel *arbel = ib_get_drvdata ( ibdev );
1221 ib_complete_send ( ibdev, qp, iobuf, rc );
1246 ib_complete_recv ( ibdev, qp, &av, iobuf, rc );
1255 * @v ibdev Infiniband device
1258 static void arbel_poll_cq ( struct ib_device *ibdev,
1260 struct arbel *arbel = ib_get_drvdata ( ibdev );
1277 if ( ( rc = arbel_complete ( ibdev, cq, cqe ) ) != 0 ) {
1438 ib_smc_update ( arbel->ibdev[port], arbel_mad );
1441 ib_link_state_changed ( arbel->ibdev[port] );
1447 * @v ibdev Infiniband device
1449 static void arbel_poll_eq ( struct ib_device *ibdev ) {
1450 struct arbel *arbel = ib_get_drvdata ( ibdev );
1507 * @v ibdev Infiniband device
1510 static int arbel_open ( struct ib_device *ibdev ) {
1511 struct arbel *arbel = ib_get_drvdata ( ibdev );
1522 if ( ( rc = arbel_cmd_init_ib ( arbel, ibdev->port,
1530 ib_smc_update ( ibdev, arbel_mad );
1538 * @v ibdev Infiniband device
1540 static void arbel_close ( struct ib_device *ibdev ) {
1541 struct arbel *arbel = ib_get_drvdata ( ibdev );
1544 if ( ( rc = arbel_cmd_close_ib ( arbel, ibdev->port ) ) != 0 ) {
1561 * @v ibdev Infiniband device
1566 static int arbel_mcast_attach ( struct ib_device *ibdev,
1569 struct arbel *arbel = ib_get_drvdata ( ibdev );
1617 * @v ibdev Infiniband device
1621 static void arbel_mcast_detach ( struct ib_device *ibdev,
1624 struct arbel *arbel = ib_get_drvdata ( ibdev );
2094 struct ib_device *ibdev;
2109 ibdev = alloc_ibdev ( 0 );
2110 if ( ! ibdev ) {
2114 arbel->ibdev[i] = ibdev;
2115 ibdev->op = &arbel_ib_operations;
2116 ibdev->dev = &pci->dev;
2117 ibdev->port = ( ARBEL_PORT_BASE + i );
2118 ib_set_drvdata ( ibdev, arbel );
2174 ib_smc_update ( arbel->ibdev[i], arbel_mad );
2178 if ( ( rc = register_ibdev ( arbel->ibdev[i] ) ) != 0 ) {
2190 unregister_ibdev ( arbel->ibdev[i] );
2208 ibdev_put ( arbel->ibdev[i] );
2224 unregister_ibdev ( arbel->ibdev[i] );
2233 ibdev_put ( arbel->ibdev[i] );