You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
fc6a110754
commit
fea93ecef6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user