File tree Expand file tree Collapse file tree
drivers/infiniband/hw/hfi1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1361,16 +1361,6 @@ void sc_flush(struct send_context *sc)
13611361 sc_wait_for_packet_egress (sc , 1 );
13621362}
13631363
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-
13741364/*
13751365 * Start the software reaction to a context halt or SPC freeze:
13761366 * - 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);
246246int sc_restart (struct send_context * sc );
247247void sc_return_credits (struct send_context * sc );
248248void sc_flush (struct send_context * sc );
249- void sc_drop (struct send_context * sc );
250249void sc_stop (struct send_context * sc , int bit );
251250struct pio_buf * sc_buffer_alloc (struct send_context * sc , u32 dw_len ,
252251 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)
15201520 }
15211521}
15221522
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-
15411523/**
15421524 * sdma_start() - called to kick off state processing for all engines
15431525 * @dd: hfi1_devdata
Original file line number Diff line number Diff line change @@ -373,7 +373,6 @@ void sdma_start(struct hfi1_devdata *dd);
373373void sdma_exit (struct hfi1_devdata * dd );
374374void sdma_clean (struct hfi1_devdata * dd , size_t num_engines );
375375void sdma_all_running (struct hfi1_devdata * dd );
376- void sdma_all_idle (struct hfi1_devdata * dd );
377376void sdma_freeze_notify (struct hfi1_devdata * dd , int go_idle );
378377void sdma_freeze (struct hfi1_devdata * dd );
379378void sdma_unfreeze (struct hfi1_devdata * dd );
You can’t perform that action at this time.
0 commit comments