cong.c (9a652cc01e589e10e2aa341074ea240c9838102b) cong.c (0cb43965d42a21a7af41f88f1021b478dc102425)
1/*
2 * Copyright (c) 2007 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 221 unchanged lines hidden (view full) ---

230 * when it tries to get the sock_lock())
231 * 2. Interrupts are masked so that we can mark the
232 * the port congested from both send and recv paths.
233 * (See comment around declaration of rdc_cong_lock).
234 * An attempt to get the sock_lock() here will
235 * therefore trigger warnings.
236 * Defer the xmit to rds_send_worker() instead.
237 */
1/*
2 * Copyright (c) 2007 Oracle. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 221 unchanged lines hidden (view full) ---

230 * when it tries to get the sock_lock())
231 * 2. Interrupts are masked so that we can mark the
232 * the port congested from both send and recv paths.
233 * (See comment around declaration of rdc_cong_lock).
234 * An attempt to get the sock_lock() here will
235 * therefore trigger warnings.
236 * Defer the xmit to rds_send_worker() instead.
237 */
238 queue_delayed_work(rds_wq, &conn->c_send_w, 0);
238 queue_delayed_work(rds_wq,
239 &conn->c_path[0].cp_send_w, 0);
239 }
240 }
241
242 spin_unlock_irqrestore(&rds_cong_lock, flags);
243}
244
245void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask)
246{

--- 174 unchanged lines hidden ---
240 }
241 }
242
243 spin_unlock_irqrestore(&rds_cong_lock, flags);
244}
245
246void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask)
247{

--- 174 unchanged lines hidden ---