| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |


Go to the source code of this file.
Data Structures | |
| struct | doca_pcc_np_dev_response_packet |
| structure for response packet More... | |
Macros | |
| #define | DOCA_DPA_DEVICE |
| declares that we are compiling for the DPA Device More... | |
Functions | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE doca_pcc_dev_error_t | doca_pcc_dev_np_user_packet_handler (struct doca_pcc_np_dev_request_packet *in, struct doca_pcc_np_dev_response_packet *out) |
| Main user function (implemented by the user) Called by the lib upon receiving a packet. The user: More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE uint8_t * | doca_pcc_np_dev_get_raw_packet (const struct doca_pcc_np_dev_request_packet *input) |
| Return packet from ethernet header. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE size_t | doca_pcc_np_dev_get_raw_packet_size (const struct doca_pcc_np_dev_request_packet *input) |
| Return packet size from ethernet header. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE uint8_t * | doca_pcc_np_dev_get_l4_header (const struct doca_pcc_np_dev_request_packet *input) |
| Returns a pointer to the L4/udp header of the packet. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE size_t | doca_pcc_np_dev_get_l4_size (const struct doca_pcc_np_dev_request_packet *input) |
| Return packet size from L4/udp header. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE uint8_t * | doca_pcc_np_dev_get_payload (const struct doca_pcc_np_dev_request_packet *input) |
| Returns a pointer to the payload of the packet. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE size_t | doca_pcc_np_dev_get_payload_size (const struct doca_pcc_np_dev_request_packet *input) |
| Return packet size from payload after mad header. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE uint8_t | doca_pcc_np_dev_get_port_num (const struct doca_pcc_np_dev_request_packet *input) |
| Return logical port number on which input packet arrived. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE uint8_t | doca_pcc_np_dev_get_plane_num (const struct doca_pcc_np_dev_request_packet *input) |
| Return plane number of logical port on which input packet arrived. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE void | doca_pcc_np_dev_get_vlan_tci (const struct doca_pcc_np_dev_request_packet *input, uint8_t *vlan_present, uint16_t *vlan_tci) |
| Return the VLAN TCI which was popped from input packet. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE size_t | doca_pcc_np_dev_get_max_response_size (struct doca_pcc_np_dev_response_packet *out) |
| Return data buffer size of out. More... | |
| DOCA_EXPERIMENTAL ALWAYS_INLINE void | doca_pcc_np_dev_set_response_prio (struct doca_pcc_np_dev_response_packet *out, uint32_t prio) |
| Set the priority of a specific packet. More... | |
| uint8_t | doca_pcc_np_dev_get_packet_probe_type_slot (const struct doca_pcc_np_dev_request_packet *input) |
| Get the probe type slot of a given probe request packet. * *. More... | |