Motr  M0
m0_rpc_frm_constraints Struct Reference

#include <formation2_internal.h>

Collaboration diagram for m0_rpc_frm_constraints:
Collaboration graph

Data Fields

uint64_t fc_max_nr_packets_enqed
 
m0_bcount_t fc_max_packet_size
 
uint64_t fc_max_nr_segments
 
m0_bcount_t fc_max_nr_bytes_accumulated
 

Detailed Description

Constraints that should be taken into consideration while forming packets.

Definition at line 91 of file formation2_internal.h.

Field Documentation

◆ fc_max_nr_bytes_accumulated

m0_bcount_t fc_max_nr_bytes_accumulated

If sum of on-wire sizes of all the enqueued RPC items is greater than fc_max_nr_bytes_accumulated, then formation should try to form RPC packet out of them.

Definition at line 118 of file formation2_internal.h.

◆ fc_max_nr_packets_enqed

uint64_t fc_max_nr_packets_enqed

Maximum number of packets such that they are submitted to network layer, but its completion callback is not yet received.

Definition at line 97 of file formation2_internal.h.

◆ fc_max_nr_segments

uint64_t fc_max_nr_segments

Maximum number of non-contiguous memory segments allowed by network layer in a network buffer.

Definition at line 111 of file formation2_internal.h.

◆ fc_max_packet_size

m0_bcount_t fc_max_packet_size

On wire size of a packet should not cross this limit. This is usually set to maximum supported size of SEND network buffer.

See also
m0_rpc_machine::rm_min_recv_size

Definition at line 105 of file formation2_internal.h.


The documentation for this struct was generated from the following file: