We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee024d commit 9dfccb6Copy full SHA for 9dfccb6
drivers/infiniband/sw/siw/siw_qp_tx.c
@@ -1271,13 +1271,7 @@ int siw_run_sq(void *data)
1271
* llist_del_all returns a list with newest entry first.
1272
* Re-order list for fairness among QP's.
1273
*/
1274
- while (active) {
1275
- struct llist_node *tmp = active;
1276
-
1277
- active = llist_next(active);
1278
- tmp->next = fifo_list;
1279
- fifo_list = tmp;
1280
- }
+ fifo_list = llist_reverse_order(active);
1281
while (fifo_list) {
1282
qp = container_of(fifo_list, struct siw_qp, tx_list);
1283
fifo_list = llist_next(fifo_list);
0 commit comments