Include payload in retransmit queue length
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
66daba9f2f
commit
312df32605
5 changed files with 5 additions and 5 deletions
|
@ -640,7 +640,7 @@ This setting limits the maximum number of bytes queued for retransmission. The d
|
||||||
|
|
||||||
The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2^10 bytes), MB & MiB (2^20 bytes), GB & GiB (2^30 bytes).
|
The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2^10 bytes), MB & MiB (2^20 bytes), GB & GiB (2^30 bytes).
|
||||||
|
|
||||||
The default value is: "50 kB".
|
The default value is: "512 kB".
|
||||||
|
|
||||||
|
|
||||||
#### //CycloneDDS/Domain/Internal/MaxQueuedRexmitMessages
|
#### //CycloneDDS/Domain/Internal/MaxQueuedRexmitMessages
|
||||||
|
|
|
@ -452,7 +452,7 @@ CycloneDDS configuration""" ] ]
|
||||||
& [ a:documentation [ xml:lang="en" """
|
& [ a:documentation [ xml:lang="en" """
|
||||||
<p>This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.</p>
|
<p>This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.</p>
|
||||||
<p>The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2<sup>10</sup> bytes), MB & MiB (2<sup>20</sup> bytes), GB & GiB (2<sup>30</sup> bytes).</p>
|
<p>The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2<sup>10</sup> bytes), MB & MiB (2<sup>20</sup> bytes), GB & GiB (2<sup>30</sup> bytes).</p>
|
||||||
<p>The default value is: "50 kB".</p>""" ] ]
|
<p>The default value is: "512 kB".</p>""" ] ]
|
||||||
element MaxQueuedRexmitBytes {
|
element MaxQueuedRexmitBytes {
|
||||||
memsize
|
memsize
|
||||||
}?
|
}?
|
||||||
|
|
|
@ -739,7 +739,7 @@ CycloneDDS configuration</xs:documentation>
|
||||||
<xs:documentation>
|
<xs:documentation>
|
||||||
<p>This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.</p>
|
<p>This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.</p>
|
||||||
<p>The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2<sup>10</sup> bytes), MB & MiB (2<sup>20</sup> bytes), GB & GiB (2<sup>30</sup> bytes).</p>
|
<p>The unit must be specified explicitly. Recognised units: B (bytes), kB & KiB (2<sup>10</sup> bytes), MB & MiB (2<sup>20</sup> bytes), GB & GiB (2<sup>30</sup> bytes).</p>
|
||||||
<p>The default value is: "50 kB".</p></xs:documentation>
|
<p>The default value is: "512 kB".</p></xs:documentation>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
<xs:element name="MaxQueuedRexmitMessages" type="xs:integer">
|
<xs:element name="MaxQueuedRexmitMessages" type="xs:integer">
|
||||||
|
|
|
@ -1140,7 +1140,7 @@ static struct cfgelem internal_cfgelems[] = {
|
||||||
"<p>This element allows configuring the base interval for sending "
|
"<p>This element allows configuring the base interval for sending "
|
||||||
"writer heartbeats and the bounds within which it can vary.</p>"),
|
"writer heartbeats and the bounds within which it can vary.</p>"),
|
||||||
UNIT("duration_inf")),
|
UNIT("duration_inf")),
|
||||||
STRING("MaxQueuedRexmitBytes", NULL, 1, "50 kB",
|
STRING("MaxQueuedRexmitBytes", NULL, 1, "512 kB",
|
||||||
MEMBER(max_queued_rexmit_bytes),
|
MEMBER(max_queued_rexmit_bytes),
|
||||||
FUNCTIONS(0, uf_memsize, 0, pf_memsize),
|
FUNCTIONS(0, uf_memsize, 0, pf_memsize),
|
||||||
DESCRIPTION(
|
DESCRIPTION(
|
||||||
|
|
|
@ -492,7 +492,7 @@ int nn_xmsg_compare_fragid (const struct nn_xmsg *a, const struct nn_xmsg *b)
|
||||||
|
|
||||||
size_t nn_xmsg_size (const struct nn_xmsg *m)
|
size_t nn_xmsg_size (const struct nn_xmsg *m)
|
||||||
{
|
{
|
||||||
return m->sz;
|
return m->sz + (m->refd_payload ? (size_t) m->refd_payload_iov.iov_len : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum nn_xmsg_kind nn_xmsg_kind (const struct nn_xmsg *m)
|
enum nn_xmsg_kind nn_xmsg_kind (const struct nn_xmsg *m)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue