From: Jan Glauber Date: Thu, 25 Dec 2008 12:38:47 +0000 (+0100) Subject: [S390] qdio: improve inbound buffer acknowledgement X-Git-Tag: v2.6.29-rc1~584^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50f769df1c4bea766c4eb927eae35728fb93e305;p=pandora-kernel.git [S390] qdio: improve inbound buffer acknowledgement - Use automatic acknowledgement of incoming buffers in QEBSM mode - Move ACK for non-QEBSM mode always to the newest buffer to prevent a race with qdio_stop_polling - Remove the polling spinlock, the upper layer drivers return new buffers in the same code path and could not run in parallel - Don't flood the error log in case of no-target-buffer-empty - In handle_inbound we check if we would overwrite an ACK'ed buffer, if so advance the pointer to the oldest ACK'ed buffer so we don't overwrite an empty buffer in qdio_stop_polling Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed