/* Switched to packing state if the number of used buffers on a queue reaches a certain limit.  */
static void qeth_switch_to_packing_if_needed(struct qeth_qdio_out_q *queue)
/* Switched to packing state if the number of used buffers on a queue reaches a certain limit.  */
static void qeth_switch_to_packing_if_needed(struct qeth_qdio_out_q *queue)
{
	if (!queue->do_pack) {
		if (atomic_read(&queue->used_buffers)
		    >= QETH_HIGH_WATERMARK_PACK){
			QETH_DBF_TEXT(TRACE, 6, "np->pack");
			if (queue->card->options.performance_stats)
				queue->card->perf_stats.sc_dp_p++;
			queue->do_pack = 1;
		}
	}
}