Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3dat/dat_ep_post_recv.3dat
          +++ new/usr/src/man/man3dat/dat_ep_post_recv.3dat
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17      dat_ep_post_recv (
  18   18      IN    DAT_EP_HANDLE        ep_handle,
  19   19      IN    DAT_COUNT            num_segments,
  20   20      IN    DAT_LMR_TRIPLET      *local_iov,
  21   21      IN    DAT_DTO_COOKIE       user_cookie,
  22   22      IN    DAT_COMPLETION_FLAGS completion_flags
  23   23      )
  24   24  .fi
  25   25  
  26   26  .SH PARAMETERS
  27      -.sp
  28   27  .ne 2
  29   28  .na
  30   29  \fB\fIep_handle\fR\fR
  31   30  .ad
  32   31  .RS 20n
  33   32  Handle for an instance of the Endpoint.
  34   33  .RE
  35   34  
  36   35  .sp
  37   36  .ne 2
↓ open down ↓ 48 lines elided ↑ open up ↑
  86   85  .RS 8n
  87   86  Non-notification completion. Local Endpoint must be configured for Unsignaled
  88   87  CompletionNotification Suppression.
  89   88  .RE
  90   89  
  91   90  .RE
  92   91  
  93   92  .RE
  94   93  
  95   94  .SH DESCRIPTION
  96      -.sp
  97   95  .LP
  98   96  The \fBdat_ep_post_recv()\fR function requests the receive of the data over the
  99   97  connection of the \fIep_handle\fR Endpoint of the incoming message into the
 100   98  \fIlocal_iov\fR.
 101   99  .sp
 102  100  .LP
 103  101  The \fInum_segments\fR parameter specifies the number of segments in the
 104  102  \fIlocal_iov\fR. The \fIlocal_iov\fR segments are filled in the I/O Vector
 105  103  order until the whole message is received. This ensures that all the "front"
 106  104  segments of the \fIlocal_iov\fR I/O Vector are completely filled, only one
↓ open down ↓ 18 lines elided ↑ open up ↑
 125  123  .LP
 126  124  A Consumer must not modify the \fIlocal_iov\fR or its content until the DTO is
 127  125  completed. When a Consumer does not adhere to this rule, the behavior of the
 128  126  Provider and the underlying Transport is not defined. Providers that allow
 129  127  Consumers to get ownership of the \fIlocal_iov\fR but not the memory it
 130  128  specified back after the \fBdat_ep_post_recv()\fR returns should document this
 131  129  behavior and also specify its support in Provider attributes. This behavior
 132  130  allows Consumer full control of the \fIlocal_iov\fR content after
 133  131  \fBdat_ep_post_recv()\fR returns. Because this behavior is not guaranteed by
 134  132  all Providers, portable Consumers should not rely on this behavior. Consumers
 135      -shouldnot rely on the Provider copying \fIlocal_iov\fR information.
      133 +should not rely on the Provider copying \fIlocal_iov\fR information.
 136  134  .sp
 137  135  .LP
 138  136  The \fBDAT_SUCCESS\fR return of the \fBdat_ep_post_recv()\fR is at least the
 139  137  equivalent of posting a Receive operation directly by native Transport.
 140  138  Providers should avoid resource allocation as part of \fBdat_ep_post_recv()\fR
 141  139  to ensure that this operation is nonblocking and thread safe for an UpCall.
 142  140  .sp
 143  141  .LP
 144  142  If the size of an incoming message is larger than the size of the
 145  143  \fIlocal_iov\fR, the reported status of the posted Receive DTO in the
↓ open down ↓ 2 lines elided ↑ open up ↑
 148  146  DTO is not \fBDAT_DTO_SUCCESS\fR, the content of the \fIlocal_iov\fR is not
 149  147  defined.
 150  148  .sp
 151  149  .LP
 152  150  The operation is valid for all states of the Endpoint. The actual data transfer
 153  151  does not take place until the Endpoint is in the \fBDAT_EP_STATE_CONNECTED\fR
 154  152  state. The operation on the Endpoint in \fBDAT_EP_STATE_DISCONNECTED\fR is
 155  153  allowed. If the operation returns successfully, the posted Recv is immediately
 156  154  flushed to \fIrecv_evd_handle\fR.
 157  155  .SH RETURN VALUES
 158      -.sp
 159  156  .ne 2
 160  157  .na
 161  158  \fB\fBDAT_SUCCESS\fR\fR
 162  159  .ad
 163  160  .RS 30n
 164  161  The operation was successful.
 165  162  .RE
 166  163  
 167  164  .sp
 168  165  .ne 2
↓ open down ↓ 38 lines elided ↑ open up ↑
 207  204  .ne 2
 208  205  .na
 209  206  \fB\fBDAT_PRIVILEGES_VIOLATION\fR\fR
 210  207  .ad
 211  208  .RS 30n
 212  209  Privileges violation for local or remote memory access. One of the LMRs used in
 213  210  \fIlocal_iov\fR was either invalid or did not have the local read privileges.
 214  211  .RE
 215  212  
 216  213  .SH USAGE
 217      -.sp
 218  214  .LP
 219  215  For best Recv operation performance, the Consumer should align each buffer
 220  216  segment of \fIlocal_iov\fR to the Optimal Buffer Alignment attribute of the
 221  217  Provider. For portable applications, the Consumer should align each buffer
 222  218  segment of \fIlocal_iov\fR to the \fBDAT_OPTIMAL_ALIGNMENT\fR.
 223  219  .SH ATTRIBUTES
 224      -.sp
 225  220  .LP
 226  221  See \fBattributes\fR(5) for descriptions of the following attributes:
 227  222  .sp
 228  223  
 229  224  .sp
 230  225  .TS
 231  226  box;
 232  227  c | c
 233  228  l | l .
 234  229  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 235  230  _
 236  231  Interface Stability     Standard: uDAPL, 1.1, 1.2
 237  232  _
 238  233  MT-Level        Unsafe
 239  234  .TE
 240  235  
 241  236  .SH SEE ALSO
 242      -.sp
 243  237  .LP
 244  238  \fBlibdat\fR(3LIB), \fBattributes\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX