mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
rxrpc: Define rxrpc_txbuf struct to carry data to be transmitted
Define a struct, rxrpc_txbuf, to carry data to be transmitted instead of a socket buffer so that it can be placed onto multiple queues at once. This also allows the data buffer to be in the same allocation as the internal data. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
This commit is contained in:
@@ -458,7 +458,8 @@ int rxrpc_stats_show(struct seq_file *seq, void *v)
|
||||
atomic_read(&rxnet->stat_why_req_ack[rxrpc_reqack_slow_start]),
|
||||
atomic_read(&rxnet->stat_why_req_ack[rxrpc_reqack_small_txwin]));
|
||||
seq_printf(seq,
|
||||
"Buffers : txb=%u rxb=%u\n",
|
||||
"Buffers : txb=%u,%u rxb=%u\n",
|
||||
atomic_read(&rxrpc_nr_txbuf),
|
||||
atomic_read(&rxrpc_n_tx_skbs),
|
||||
atomic_read(&rxrpc_n_rx_skbs));
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user