diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2010-01-04 02:02:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 00:24:55 -0800 |
commit | fea93ecef619b5779ca6984568517b1685079b05 (patch) | |
tree | 9894ba0ea3f8f4a1191697fecb0f63a45767a90f /include/net/phonet | |
parent | fc6a110754476362f9f4fa3199a637f2331c5993 (diff) | |
download | kernel_samsung_tuna-fea93ecef619b5779ca6984568517b1685079b05.zip kernel_samsung_tuna-fea93ecef619b5779ca6984568517b1685079b05.tar.gz kernel_samsung_tuna-fea93ecef619b5779ca6984568517b1685079b05.tar.bz2 |
Phonet: zero-copy GPRS TX
Send aligned pipe payload if requested to do so. Then, the socket buffer
needs not be fragmented anymore.
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/phonet')
-rw-r--r-- | include/net/phonet/pep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/phonet/pep.h b/include/net/phonet/pep.h index c371625..35672b1 100644 --- a/include/net/phonet/pep.h +++ b/include/net/phonet/pep.h @@ -44,6 +44,7 @@ struct pep_sock { u8 rx_fc; /* RX flow control */ u8 tx_fc; /* TX flow control */ u8 init_enable; /* auto-enable at creation */ + u8 aligned; }; static inline struct pep_sock *pep_sk(struct sock *sk) @@ -139,6 +140,7 @@ enum { PN_PIPE_SB_NEGOTIATED_FC, PN_PIPE_SB_REQUIRED_FC_TX, PN_PIPE_SB_PREFERRED_FC_RX, + PN_PIPE_SB_ALIGNED_DATA, }; /* Phonet pipe flow control models */ |