This adds a First Fragment bit to FRCT. This small optimisation avoids
losing two packets when there is packet loss without fragmentation,
without the need to disable fragmentation at the end points.
Signed-off-by: Dimitri Staessens <dimitri.staessens@xxxxxxxx>
---
src/lib/frct.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/frct.c b/src/lib/frct.c
index ce6cc25..b56b1e3 100644
--- a/src/lib/frct.c
+++ b/src/lib/frct.c
@@ -65,7 +65,8 @@ enum frct_flags {
FRCT_ACK = 0x04, /* ACK field valid */
FRCT_FC = 0x08, /* FC window valid */
FRCT_RDVZ = 0x10, /* Rendez-vous */
- FRCT_MFGM = 0x20, /* More fragments */
+ FRCT_FFGM = 0x20, /* First Fragment */
+ FRCT_MFGM = 0x40, /* More fragments */
};
struct frct_pci {
--
2.19.1