path: root/include
diff options
mode: <>2012-02-03 04:36:21 +0000
committerDavid S. Miller <>2012-02-04 16:06:28 -0500
commit332ad43f19848ed653a5e44afa8e2f4a7d34ed44 (patch)
tree6085d8765b9fd53bd9c3734b540325027ebb2076 /include
parent576f3cc7fb94a22df2ced8dcba7d48ff42f8e745 (diff)
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 <> Signed-off-by: David S. Miller <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h
index 8d552519ff6..6db8ecf52aa 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;