Skip to content

rxrpc: Miscellaneous fixes

David Howells lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review 2 of 5 applied

Patches in v1 2 of 5 applied

#Subject and filesSizeRepliesApplied
1/5rxrpc: Fix congestion control algorithmnet/rxrpc/ar-internal.h net/rxrpc/call_object.c net/rxrpc/input.c+2 -100 repliesApplied
2/5rxrpc: Only transmit one ACK per jumbo packet receivednet/rxrpc/input.c+35 -110 repliesApplied
3/5rxrpc: Clean up Tx header flags generation handlinginclude/trace/events/rxrpc.h net/rxrpc/ar-internal.h net/rxrpc/output.c +1 more+14 -100 replies
4/5rxrpc: Change how the MORE-PACKETS rxrpc wire header flag is drivennet/rxrpc/output.c net/rxrpc/sendmsg.c+7 -40 replies
5/5rxrpc: Request an ACK on impending Tx stallinclude/trace/events/rxrpc.h net/rxrpc/ar-internal.h net/rxrpc/output.c +1 more+7 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeffrey Altman
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/5] rxrpc: Miscellaneous fixes

Here some miscellaneous fixes for AF_RXRPC:

(1) Fix the congestion control algorithm to start cwnd at 4 and to not cut ssthresh when the peer cuts its rwind size.

(2) Only transmit a single ACK for all the DATA packets glued together into a jumbo packet to reduce the number of ACKs being generated.

(3) Clean up the generation of flags in the protocol header when creating a packet for transmission. This means we don't carry the old REQUEST-ACK bit around from previous transmissions, will make it easier to fix the MORE-PACKETS flag and make it easier to do jumbo packet assembly in future.

(4) Fix how the MORE-PACKETS flag is driven. We shouldn't be setting it in sendmsg() as the packet is then queued and the bit is left in that state, no matter how long it takes us to transmit the packet - and will still be in that state if the packet is retransmitted.

(5) Request an ACK on an impending transmission stall due to the app layer not feeding us new data fast enough. If we don't request an ACK, we may have to hold on to the packet buffers for a significant amount of time until the receiver gets bored and sends us an ACK anyway.

David

---
The patches can be found here also:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes

David Howells (5):
rxrpc: Fix congestion control algorithm
rxrpc: Only transmit one ACK per jumbo packet received
rxrpc: Clean up Tx header flags generation handling
rxrpc: Change how the MORE-PACKETS rxrpc wire header flag is driven
rxrpc: Request an ACK on impending Tx stall

 include/trace/events/rxrpc.h |  2 +-
 net/rxrpc/ar-internal.h      |  2 +-
 net/rxrpc/call_object.c      |  7 +-----
 net/rxrpc/input.c            | 49 +++++++++++++++++++++++++-----------
 net/rxrpc/output.c           | 26 ++++++++++++++-----
 net/rxrpc/proc.c             |  6 ++---
 net/rxrpc/sendmsg.c          |  3 ---
 7 files changed, 61 insertions(+), 34 deletions(-)