a packet to submit to a driver More...
#include <nm_minidriver.h>

Data Fields | ||
| struct { | ||
| void * p_buf | ||
| nm_len_t len | ||
| } | buf | |
| buffer given by the driver | ||
| struct { | ||
| struct iovec * v | ||
| int n | ||
| } | iov | |
| iovec data (with a single entry if supports_iovec == 0) | ||
| struct { | ||
| struct nm_data_s * p_data | ||
| nm_len_t chunk_offset | ||
| nm_len_t chunk_len | ||
| struct nm_data_properties_s chunk_props | ||
| pre-computed properties for the chunk of data More... | ||
| } | data | |
| data iterator | ||
| struct { | ||
| nm_len_t size | ||
| void * p_content | ||
| content of rdv_data; remains allocated until pkt completion More... | ||
| } | rdv_data | |
| rdv data, filled by receiver, read by sender, if needed | ||
| struct { | ||
| void * p_ptr | ||
| } | driver_data | |
| to be used by the driver itself, to save status accross calls | ||
| struct { | ||
| void * p_entry | ||
| placeholder for driver to store a prefetch entry More... | ||
| } | send_prefetch | |
| struct { | ||
| void * p_entry | ||
| placeholder for driver to store a prefetch entry More... | ||
| } | recv_prefetch | |
| struct { | ||
| bool sender_is_contig | ||
| data is contiguous in sender side More... | ||
| nm_prio_t prio | ||
| priority of the packet, i.e. More... | ||
| } | flags | |
Detailed Description
a packet to submit to a driver
Definition at line 297 of file nm_minidriver.h.
Field Documentation
◆ [struct]
| struct { ... } nm_pkt_s::buf |
buffer given by the driver
Referenced by nm_minidriver_recv(), nm_minidriver_recv_pkt_build(), nm_minidriver_recv_rdv(), nm_minidriver_rpoll(), nm_minidriver_send(), nm_minidriver_send_pkt_build(), and nm_minidriver_send_rdv().
◆ chunk_len
| nm_len_t nm_pkt_s::chunk_len |
Definition at line 315 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), and nm_minidriver_send_pkt_build().
◆ chunk_offset
| nm_len_t nm_pkt_s::chunk_offset |
Definition at line 314 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), and nm_minidriver_send_pkt_build().
◆ chunk_props
| struct nm_data_properties_s nm_pkt_s::chunk_props |
pre-computed properties for the chunk of data
Definition at line 316 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), and nm_minidriver_send_pkt_build().
◆ [struct]
| struct { ... } nm_pkt_s::data |
data iterator
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_send_pkt_build(), and nm_minidriver_spoll().
◆ [struct]
| struct { ... } nm_pkt_s::driver_data |
to be used by the driver itself, to save status accross calls
◆ [struct]
| struct { ... } nm_pkt_s::flags |
◆ [struct]
| struct { ... } nm_pkt_s::iov |
iovec data (with a single entry if supports_iovec == 0)
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_rpoll(), nm_minidriver_send_pkt_build(), and nm_minidriver_spoll().
◆ len
| nm_len_t nm_pkt_s::len |
Definition at line 304 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_rpoll(), and nm_minidriver_send_pkt_build().
◆ n
| int nm_pkt_s::n |
Definition at line 309 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), and nm_minidriver_send_pkt_build().
◆ p_buf
| void* nm_pkt_s::p_buf |
Definition at line 303 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_rpoll(), and nm_minidriver_send_pkt_build().
◆ p_content
| void* nm_pkt_s::p_content |
content of rdv_data; remains allocated until pkt completion
Definition at line 321 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_rdv(), and nm_minidriver_send_rdv().
◆ p_data
| struct nm_data_s* nm_pkt_s::p_data |
Definition at line 313 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_send_pkt_build(), and nm_minidriver_spoll().
◆ p_entry
| void* nm_pkt_s::p_entry |
placeholder for driver to store a prefetch entry
Definition at line 329 of file nm_minidriver.h.
◆ p_ptr
| void* nm_pkt_s::p_ptr |
Definition at line 325 of file nm_minidriver.h.
◆ prio
| nm_prio_t nm_pkt_s::prio |
priority of the packet, i.e.
highest priority of data enclosed
Definition at line 338 of file nm_minidriver.h.
◆ [struct]
| struct { ... } nm_pkt_s::rdv_data |
rdv data, filled by receiver, read by sender, if needed
Referenced by nm_minidriver_recv_rdv(), and nm_minidriver_send_rdv().
◆ [struct]
| struct { ... } nm_pkt_s::recv_prefetch |
◆ [struct]
| struct { ... } nm_pkt_s::send_prefetch |
◆ sender_is_contig
| bool nm_pkt_s::sender_is_contig |
data is contiguous in sender side
Definition at line 337 of file nm_minidriver.h.
◆ size
| nm_len_t nm_pkt_s::size |
Definition at line 320 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_rdv().
◆ v
| struct iovec* nm_pkt_s::v |
Definition at line 308 of file nm_minidriver.h.
Referenced by nm_minidriver_recv_pkt_build(), nm_minidriver_rpoll(), nm_minidriver_send_pkt_build(), and nm_minidriver_spoll().
The documentation for this struct was generated from the following file: