NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
doca_pcc_dev_event.h File Reference
#include <doca_pcc_dev.h>
Include dependency graph for doca_pcc_dev_event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

DOCA_STABLE FORCE_INLINE doca_pcc_dev_event_general_attr_t doca_pcc_dev_get_ev_attr (doca_pcc_dev_event_t *event)
 For all events, return structure with general information such as event type, subtype, port and flags. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_flowtag (doca_pcc_dev_event_t *event)
 For all events, flow tag to indicate different flows. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_sn (doca_pcc_dev_event_t *event)
 For all events, serial number of this event. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_timestamp (doca_pcc_dev_event_t *event)
 For all events, timestamp of this event. More...
 
FORCE_INLINE uint32_t doca_pcc_dev_get_ttl_hoplimit (__attribute__((unused)) doca_pcc_dev_event_t *event)
 For all events, TTL (for IPv4) or HopLimit (for IPv6) header’s field in received packet. More...
 
FORCE_INLINE uint32_t doca_pcc_dev_get_flow_qpn (doca_pcc_dev_event_t *event)
 For all events, return flow qpn (CX8+ all events, BF3 tx event only) More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_fw_settings (doca_pcc_dev_event_t *event, int n)
 For FW events only, three DWORDs of FW data. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_roce_first_timestamp (doca_pcc_dev_event_t *event)
 For TX/ACK/NACK/CNP events, first coalesced event timestamp. More...
 
DOCA_STABLE FORCE_INLINE doca_pcc_dev_roce_tx_cntrs_t doca_pcc_dev_get_roce_tx_cntrs (doca_pcc_dev_event_t *event)
 For TX events only, counters including byte count and packet count. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_roce_ack_first_sn (doca_pcc_dev_event_t *event)
 For ACK/NACK/CNP events, first coalesced event serial number. More...
 
DOCA_STABLE FORCE_INLINE doca_pcc_dev_ack_nack_cnp_extra_t doca_pcc_dev_get_ack_nack_cnp_extra (doca_pcc_dev_event_t *event)
 For ACK/NACK/CNP events, extra information including number of coalesced events. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_req_send_timestamp (doca_pcc_dev_event_t *event)
 For RTT events only, the time when RTT request is sent. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_req_recv_timestamp (doca_pcc_dev_event_t *event)
 For RTT events only, the time when RTT request is received. More...
 
DOCA_STABLE FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_resp_send_timestamp (doca_pcc_dev_event_t *event)
 For RTT events only, the time when RTT response is sent. More...
 
DOCA_EXPERIMENTAL FORCE_INLINE unsigned char * doca_pcc_dev_get_rtt_raw_data (doca_pcc_dev_event_t *event)
 Returns the user defined event data. More...
 
DOCA_EXPERIMENTAL FORCE_INLINE size_t doca_pcc_dev_get_rtt_raw_data_size (doca_pcc_dev_event_t *event)
 Returns the user defined event data size in bytes. More...
 
FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_np_rx_byte_counter (__attribute__((unused)) doca_pcc_dev_event_t *event)
 For rtt event, np port rx byte counter in units of 256 bytes. More...
 
FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_resp_version (__attribute__((unused)) doca_pcc_dev_event_t *event)
 For rtt event, rtt version. More...
 
FORCE_INLINE uint32_t doca_pcc_dev_get_rtt_resp_port_type (__attribute__((unused)) doca_pcc_dev_event_t *event)
 For rtt event, port type: 0 - 25G, 1 - 40G, 2 - 50G, 3 - 100G, 4 - 200G, 5 - 400G, 6 - 800G. More...