diff options
author | Einar Lueck <elelueck@de.ibm.com> | 2011-08-07 21:33:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-13 04:10:16 -0400 |
commit | aae7ea8d54f4fa6f016fffa2dbe170d0e7851dd0 (patch) | |
tree | 814c645ddf6527949e0d53b729d40db16dfe1455 /drivers/s390 | |
parent | 9cb7284f3058d272758ebaaa8f6f924cb99792bc (diff) |
qeth: support forced signal adapter indications
This patch ensures that signal adapter commands are issued if they are
indicated to be required.
Signed-off-by: Einar Lueck <elelueck@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 26a4110eeb2d..8a58820b4c0f 100644 --- 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(struct qeth_ipa_info *ipa, | |||
231 | #define QETH_IN_BUF_COUNT_MAX 128 | 231 | #define QETH_IN_BUF_COUNT_MAX 128 |
232 | #define QETH_MAX_BUFFER_ELEMENTS(card) ((card)->qdio.in_buf_size >> 12) | 232 | #define QETH_MAX_BUFFER_ELEMENTS(card) ((card)->qdio.in_buf_size >> 12) |
233 | #define QETH_IN_BUF_REQUEUE_THRESHOLD(card) \ | 233 | #define QETH_IN_BUF_REQUEUE_THRESHOLD(card) \ |
234 | ((card)->qdio.in_buf_pool.buf_count / 2) | 234 | ((card)->ssqd.qdioac1 & AC1_SIGA_INPUT_NEEDED ? 1 : \ |
235 | ((card)->qdio.in_buf_pool.buf_count / 2)) | ||
235 | 236 | ||
236 | /* buffers we have to be behind before we get a PCI */ | 237 | /* buffers we have to be behind before we get a PCI */ |
237 | #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1) | 238 | #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1) |