From patchwork Wed Jul 27 16:12:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: frank.blaschka@de.ibm.com X-Patchwork-Id: 107120 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 32D2AB6F75 for ; Thu, 28 Jul 2011 02:14:20 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754782Ab1G0QOE (ORCPT ); Wed, 27 Jul 2011 12:14:04 -0400 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:36096 "EHLO mtagate7.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754743Ab1G0QNz (ORCPT ); Wed, 27 Jul 2011 12:13:55 -0400 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p6RGDexo021500; Wed, 27 Jul 2011 16:13:40 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p6RGDdTv2023662; Wed, 27 Jul 2011 17:13:39 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p6RGDd0m027585; Wed, 27 Jul 2011 10:13:39 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p6RGDc2n027554; Wed, 27 Jul 2011 10:13:39 -0600 Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 24631) id 6565312243AC; Wed, 27 Jul 2011 18:13:39 +0200 (CEST) Message-Id: <20110727161339.313980198@de.ibm.com> User-Agent: quilt/0.47-1 Date: Wed, 27 Jul 2011 18:12:51 +0200 From: frank.blaschka@de.ibm.com To: netdev@vger.kernel.org, linux-s390@vger.kernel.org Cc: Einar Lueck Subject: [patch 09/11] [PATCH] qeth: support forced signal adapter indications References: <20110727161242.018577444@de.ibm.com> Content-Disposition: inline; filename=net1117_qeth_siga_r.patch Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Einar Lueck This patch ensures that signal adapter commands are issued if they are indicated to be required. Signed-off-by: Einar Lueck Signed-off-by: Frank Blaschka --- drivers/s390/net/qeth_core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -231,7 +231,8 @@ static inline int qeth_is_ipa_enabled(st #define QETH_IN_BUF_COUNT_MAX 128 #define QETH_MAX_BUFFER_ELEMENTS(card) ((card)->qdio.in_buf_size >> 12) #define QETH_IN_BUF_REQUEUE_THRESHOLD(card) \ - ((card)->qdio.in_buf_pool.buf_count / 2) + ((card)->ssqd.qdioac1 & AC1_SIGA_INPUT_NEEDED ? 1 : \ + ((card)->qdio.in_buf_pool.buf_count / 2)) /* buffers we have to be behind before we get a PCI */ #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1)