File tree Expand file tree Collapse file tree 4 files changed +0
-30
lines changed
drivers/infiniband/hw/hfi1 Expand file tree Collapse file tree 4 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -1361,16 +1361,6 @@ void sc_flush(struct send_context *sc)
1361
1361
sc_wait_for_packet_egress (sc , 1 );
1362
1362
}
1363
1363
1364
- /* drop all packets on the context, no waiting until they are sent */
1365
- void sc_drop (struct send_context * sc )
1366
- {
1367
- if (!sc )
1368
- return ;
1369
-
1370
- dd_dev_info (sc -> dd , "%s: context %u(%u) - not implemented\n" ,
1371
- __func__ , sc -> sw_index , sc -> hw_context );
1372
- }
1373
-
1374
1364
/*
1375
1365
* Start the software reaction to a context halt or SPC freeze:
1376
1366
* - mark the context as halted or frozen
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ void sc_disable(struct send_context *sc);
246
246
int sc_restart (struct send_context * sc );
247
247
void sc_return_credits (struct send_context * sc );
248
248
void sc_flush (struct send_context * sc );
249
- void sc_drop (struct send_context * sc );
250
249
void sc_stop (struct send_context * sc , int bit );
251
250
struct pio_buf * sc_buffer_alloc (struct send_context * sc , u32 dw_len ,
252
251
pio_release_cb cb , void * arg );
Original file line number Diff line number Diff line change @@ -1520,24 +1520,6 @@ void sdma_all_running(struct hfi1_devdata *dd)
1520
1520
}
1521
1521
}
1522
1522
1523
- /**
1524
- * sdma_all_idle() - called when the link goes down
1525
- * @dd: hfi1_devdata
1526
- *
1527
- * This routine moves all engines to the idle state.
1528
- */
1529
- void sdma_all_idle (struct hfi1_devdata * dd )
1530
- {
1531
- struct sdma_engine * sde ;
1532
- unsigned int i ;
1533
-
1534
- /* idle all engines */
1535
- for (i = 0 ; i < dd -> num_sdma ; ++ i ) {
1536
- sde = & dd -> per_sdma [i ];
1537
- sdma_process_event (sde , sdma_event_e70_go_idle );
1538
- }
1539
- }
1540
-
1541
1523
/**
1542
1524
* sdma_start() - called to kick off state processing for all engines
1543
1525
* @dd: hfi1_devdata
Original file line number Diff line number Diff line change @@ -373,7 +373,6 @@ void sdma_start(struct hfi1_devdata *dd);
373
373
void sdma_exit (struct hfi1_devdata * dd );
374
374
void sdma_clean (struct hfi1_devdata * dd , size_t num_engines );
375
375
void sdma_all_running (struct hfi1_devdata * dd );
376
- void sdma_all_idle (struct hfi1_devdata * dd );
377
376
void sdma_freeze_notify (struct hfi1_devdata * dd , int go_idle );
378
377
void sdma_freeze (struct hfi1_devdata * dd );
379
378
void sdma_unfreeze (struct hfi1_devdata * dd );
You can’t perform that action at this time.
0 commit comments