qeth: Reduce CPU consumption through less SIGA-r calls
authorEinar Lueck <elelueck@de.ibm.com>
Tue, 15 Nov 2011 02:31:16 +0000 (02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:28:20 +0000 (17:28 -0500)
commit0284a0fdf3def1beb4de509f87472520b23883c9
tree012a6a380508f4b0214746d147bbc1aba6e32a51
parent1d36cb479f204a0fedc1a3e7ce7b32c0a2c48769
qeth: Reduce CPU consumption through less SIGA-r calls

Patch avoids SIGA-r calls in case of SIGA-r required. It only calls
SIGA-r if a threshold of free buffer is reached. CPU consumption is
reduced as a consequence.

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>
drivers/s390/net/qeth_core.h