Skip to content

: Option headroom, MPS, and FIXME in dccp_sync_mss

Gerrit Renker dccp 1 version In review

Get series with b4
b4 am 200710121051.42025@strip-the-willow

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5: Documentation for CCID operationsnet/dccp/ccid.h+28 -71 reply
2/5: More informative registrationnet/dccp/ccid.c net/dccp/ccids/ccid3.c+7 -71 reply
3/5: Introducing CCMPSnet/dccp/ccid.h net/dccp/output.c+25 -71 reply
4/5: Leave headroom for options when calculating the MPSnet/dccp/output.c+11 -71 reply
5/5: Reorder statements with regard to option lengthnet/dccp/ackvec.c+10 -31 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchIan McDonald
1/5
2/5
3/5
4/5A-b
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 0/5]: Option headroom, MPS, and FIXME in dccp_sync_mss

A small self-contained patch set which centers around determining sufficient option headroom when calculating the maximum packet size.

Patch #1: Adds documentation for the fields in struct ccid_operations.

Patch #2: More informative registration of CCIDs.

Patch #3: Introduces the CCMPS field for CCIDs. This is currently only used

          by CCID4. The ccmps value needs to include network/transport header
          lengths (since dccp_sync_mss subtracts these). For CCID4 this would
          supposedly look like (RFC 3714/4828):
	  struct ccid_operations ccid4 = {
		.ccid_mps = 1500,
		/* ... */
	  };
	  If the field is omitted or set to 0, no CCMPS is imposed.

Patch #4: Is the core of this patch set and estimates the minimally required option
headroom for Data/DataAck packets. It addresses a FIXME in dccp_sync_mss. I have long thought about this and come to the conclusion that a simple solution - optimising for data transfer - is better. The complexities of variable-length options (Ack Vector, Data Dropped, initial feature-negotiation) need to use a different path - e.g. using a separate Ack (cf. next patch). Rationale and background is documented on
http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/misc_notes/estimating_option_sizes_for_MPS.txt

Patch #5: Reorders statements to estimate the maximum room left for Ack Vectors and adds a Fixme + warning
message for dealing with insufficient remaining space when piggybacking on DataAck.