Lines Matching refs:mi
45 * @v mi Management interface
50 struct ib_mad_interface *mi,
71 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) {
72 DBGC ( mi, "SMA %p could not send NodeInfo GetResponse: %s\n",
73 mi, strerror ( rc ) );
82 * @v mi Management interface
87 struct ib_mad_interface *mi,
110 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) {
111 DBGC ( mi, "SMA %p could not send NodeDesc GetResponse: %s\n",
112 mi, strerror ( rc ) );
121 * @v mi Management interface
126 struct ib_mad_interface *mi,
139 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) {
140 DBGC ( mi, "SMA %p could not send GuidInfo GetResponse: %s\n",
141 mi, strerror ( rc ) );
150 * @v mi Management interface
155 struct ib_mad_interface *mi,
173 DBGC ( mi, "SMA %p set LID %04x SMLID %04x link width %02x speed "
174 "%02x\n", mi, ibdev->lid, ibdev->sm_lid,
179 DBGC ( mi, "SMA %p could not set port information: %s\n",
180 mi, strerror ( rc ) );
191 * @v mi Management interface
196 struct ib_mad_interface *mi,
204 if ( ( rc = ib_sma_set_port_info ( ibdev, mi, mad ) ) != 0 ) {
238 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) {
239 DBGC ( mi, "SMA %p could not send PortInfo GetResponse: %s\n",
240 mi, strerror ( rc ) );
249 * @v mi Management interface
254 struct ib_mad_interface *mi,
261 DBGC ( mi, "SMA %p set pkey %04x\n", mi, ibdev->pkey );
265 DBGC ( mi, "SMA %p could not set pkey table: %s\n",
266 mi, strerror ( rc ) );
277 * @v mi Management interface
282 struct ib_mad_interface *mi,
290 if ( ( rc = ib_sma_set_pkey_table ( ibdev, mi, mad ) ) != 0 ) {
304 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) {
305 DBGC ( mi, "SMA %p could not send PKeyTable GetResponse: %s\n",
306 mi, strerror ( rc ) );
349 * @v mi Management interface
352 int ib_create_sma ( struct ib_device *ibdev, struct ib_mad_interface *mi ) {
355 DBGC ( ibdev, "IBDEV %p SMA using SMI %p\n", ibdev, mi );
364 * @v mi Management interface
367 struct ib_mad_interface *mi __unused ) {