diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2010-01-04 03:02:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 09:24:55 +0100 |
commit | fea93ecef619b5779ca6984568517b1685079b05 (patch) | |
tree | 9894ba0ea3f8f4a1191697fecb0f63a45767a90f /include/net/phonet | |
parent | Phonet: zero-copy aligned GPRS RX (diff) | |
download | linux-fea93ecef619b5779ca6984568517b1685079b05.tar.xz linux-fea93ecef619b5779ca6984568517b1685079b05.zip |
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 c37162547a93..35672b1cf44a 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 */ |