summaryrefslogtreecommitdiffstats
path: root/include/net/caif
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>2012-02-03 05:36:21 +0100
committerDavid S. Miller <davem@davemloft.net>2012-02-04 22:06:28 +0100
commit332ad43f19848ed653a5e44afa8e2f4a7d34ed44 (patch)
tree6085d8765b9fd53bd9c3734b540325027ebb2076 /include/net/caif
parentcaif: Add drop count for caif_net device. (diff)
downloadlinux-332ad43f19848ed653a5e44afa8e2f4a7d34ed44.tar.xz
linux-332ad43f19848ed653a5e44afa8e2f4a7d34ed44.zip
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.h1
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;