From 26651cced905101bf197f4bba353981558d713aa Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Sat, 20 Oct 2012 09:19:22 -0700 Subject: [PATCH] new --- meta | 5 +++-- patches/resv-rs-len | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 patches/resv-rs-len diff --git a/meta b/meta index ff92c396..3d118f34 100644 --- a/meta +++ b/meta @@ -1,7 +1,8 @@ Version: 1 -Previous: aa884f585c33e60075f0e5afb8471619caba3444 -Head: d2e96e99bf1fc3d14e33c741502cb689c810a27b +Previous: 0463edfb6eb3293eb489bd45de01da75bc84f317 +Head: 9d705522d373954d8813aa172bc25850ce314271 Applied: + resv-rs-len: 9d705522d373954d8813aa172bc25850ce314271 Unapplied: af-ib-conn: 70cdbcec6986d1fcc8146a73cf2d8b6a537e71f5 addrtype: fffb812c9cbe707f830d1e7e713feb3ae3e2e8ec diff --git a/patches/resv-rs-len b/patches/resv-rs-len new file mode 100644 index 00000000..331d280b --- /dev/null +++ b/patches/resv-rs-len @@ -0,0 +1,29 @@ +Bottom: daf53db464152f40dc8d6f2c99844510b03f8567 +Top: daf53db464152f40dc8d6f2c99844510b03f8567 +Author: Sean Hefty +Date: 2012-10-20 09:19:22 -0700 + +rsocket: Reserve bits in data transfer message + +rsockets includes the length of a data transfer in the +immediate data. Currently 29 bits are reserved for the +length, but the maximum transfer is currently capped +at 64K. For future expansion, limit the length field +to 17 bits and reserve the other 12. + +The interpretation of the 17 bits is modified as follows. +The lower 16 bits indicate a length. If the upper bit is +0, then the lower 16 bits indicate a transfer size in bytes. +If the upper bit is 1, the the total transfer size is +calculated as (size carried in bits 0-15 + 1) * 64 KB. + +This is backwards compatible with the current implementation, +allows for transfers up to 4 GB, and provides us some +additional bits for future use. + +Signed-off-by: Sean Hefty + + +--- + + -- 2.46.0