diff options
author | Qipan Li <Qipan.Li@csr.com> | 2014-07-03 21:26:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 17:37:00 -0700 |
commit | 7282cec90365533befce1552ab09edbcd0af0dbd (patch) | |
tree | 746863b71b6ed12fbaaedfe6f41541fad5c056b9 /net/sunrpc/auth_gss/gss_krb5_crypto.c | |
parent | a9977620a448f12a7337daca452fd20e89a96e23 (diff) | |
download | linux-stable-7282cec90365533befce1552ab09edbcd0af0dbd.tar.gz linux-stable-7282cec90365533befce1552ab09edbcd0af0dbd.tar.bz2 linux-stable-7282cec90365533befce1552ab09edbcd0af0dbd.zip |
serial: sirf: transfer more bytes once to decrease interrupts
the current codes send 1 bytes, then after getting TX done interrupt,
send subsequent bytes. it causes redundant interrupts.
for example, if we have 3 bytes in TX buffer, the TX flow is:
1. send 1 byte
2. get TX down interrupt
3. send the left 2 bytes
4. get TX down interrupt
this patch moves to send more bytes and decrease interrupts, the new
flow is:
1. send 3 bytes
2. get TX down interrupt
Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_crypto.c')
0 files changed, 0 insertions, 0 deletions