diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2012-02-03 08:36:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-05 01:06:28 +0400 |
commit | 332ad43f19848ed653a5e44afa8e2f4a7d34ed44 (patch) | |
tree | 6085d8765b9fd53bd9c3734b540325027ebb2076 /include/net/caif | |
parent | 576f3cc7fb94a22df2ced8dcba7d48ff42f8e745 (diff) | |
download | linux-332ad43f19848ed653a5e44afa8e2f4a7d34ed44.tar.xz |
caif-hsi: Add RX flip buffer
Implement RX flip buffer in the cfhsi_rx_done function,
piggy-backed frames is also supported.
This gives a significant performance gain for CAIF over HSI.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/caif')
-rw-r--r-- | include/net/caif/caif_hsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h index 8d552519ff67..6db8ecf52aa2 100644 --- a/include/net/caif/caif_hsi.h +++ b/include/net/caif/caif_hsi.h @@ -138,6 +138,7 @@ struct cfhsi { u8 *rx_ptr; u8 *tx_buf; u8 *rx_buf; + u8 *rx_flip_buf; spinlock_t lock; int flow_off_sent; u32 q_low_mark; |