sdp_tx.c (278894) | sdp_tx.c (299179) |
---|---|
1/* 2 * Copyright (c) 2009 Mellanox Technologies Ltd. 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: --- 314 unchanged lines hidden (view full) --- 323 324 wc_processed = sdp_process_tx_cq(ssk); 325 if (!wc_processed) 326 SDPSTATS_COUNTER_INC(tx_poll_miss); 327 else 328 SDPSTATS_COUNTER_INC(tx_poll_hit); 329 330 inflight = (u32) tx_ring_posted(ssk); | 1/* 2 * Copyright (c) 2009 Mellanox Technologies Ltd. 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: --- 314 unchanged lines hidden (view full) --- 323 324 wc_processed = sdp_process_tx_cq(ssk); 325 if (!wc_processed) 326 SDPSTATS_COUNTER_INC(tx_poll_miss); 327 else 328 SDPSTATS_COUNTER_INC(tx_poll_hit); 329 330 inflight = (u32) tx_ring_posted(ssk); |
331 sdp_prf1(ssk->socket, NULL, "finished tx proccessing. inflight = %d", | 331 sdp_prf1(ssk->socket, NULL, "finished tx processing. inflight = %d", |
332 inflight); 333 334 /* If there are still packets in flight and the timer has not already 335 * been scheduled by the Tx routine then schedule it here to guarantee 336 * completion processing of these packets */ 337 if (inflight) 338 callout_reset(&ssk->tx_ring.timer, SDP_TX_POLL_TIMEOUT, 339 sdp_poll_tx_timeout, ssk); --- 151 unchanged lines hidden --- | 332 inflight); 333 334 /* If there are still packets in flight and the timer has not already 335 * been scheduled by the Tx routine then schedule it here to guarantee 336 * completion processing of these packets */ 337 if (inflight) 338 callout_reset(&ssk->tx_ring.timer, SDP_TX_POLL_TIMEOUT, 339 sdp_poll_tx_timeout, ssk); --- 151 unchanged lines hidden --- |