| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <doca_flow.h>

Go to the source code of this file.
Data Structures | |
| struct | pipe_info |
| struct | flow_pipes_manager |
Functions | |
| doca_error_t | create_pipes_manager (struct flow_pipes_manager **pipes_manager) |
| void | destroy_pipes_manager (struct flow_pipes_manager *manager) |
| doca_error_t | pipes_manager_pipe_create (struct flow_pipes_manager *manager, struct doca_flow_pipe *pipe, uint16_t port_id, uint64_t *pipe_id) |
| doca_error_t | pipes_manager_pipe_add_entry (struct flow_pipes_manager *manager, struct doca_flow_pipe_entry *entry, uint64_t pipe_id, uint64_t *entry_id) |
| doca_error_t | pipes_manager_get_pipe (struct flow_pipes_manager *manager, uint64_t pipe_id, struct doca_flow_pipe **pipe) |
| doca_error_t | pipes_manager_get_entry (struct flow_pipes_manager *manager, uint64_t entry_id, struct doca_flow_pipe_entry **entry) |
| doca_error_t | pipes_manager_pipe_destroy (struct flow_pipes_manager *manager, uint64_t pipe_id) |
| doca_error_t | pipes_manager_pipe_rm_entry (struct flow_pipes_manager *manager, uint64_t entry_id) |
| doca_error_t | pipes_manager_pipes_flush (struct flow_pipes_manager *manager, uint16_t port_id) |
| doca_error_t create_pipes_manager | ( | struct flow_pipes_manager ** | pipes_manager | ) |
RTE Hash may access memory after our key if the key length isn't divisible by 4. Hence, we will use uint32_t instead of uint16_t, and use temp variables of correct type so to ensure we don't read out of bounds of the original (uint16_t) variable.
Definition at line 109 of file flow_pipes_manager.c.
| void destroy_pipes_manager | ( | struct flow_pipes_manager * | manager | ) |
Definition at line 160 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_get_entry | ( | struct flow_pipes_manager * | manager, |
| uint64_t | entry_id, | ||
| struct doca_flow_pipe_entry ** | entry | ||
| ) |
Definition at line 371 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_get_pipe | ( | struct flow_pipes_manager * | manager, |
| uint64_t | pipe_id, | ||
| struct doca_flow_pipe ** | pipe | ||
| ) |
Definition at line 359 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_pipe_add_entry | ( | struct flow_pipes_manager * | manager, |
| struct doca_flow_pipe_entry * | entry, | ||
| uint64_t | pipe_id, | ||
| uint64_t * | entry_id | ||
| ) |
Definition at line 306 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_pipe_create | ( | struct flow_pipes_manager * | manager, |
| struct doca_flow_pipe * | pipe, | ||
| uint16_t | port_id, | ||
| uint64_t * | pipe_id | ||
| ) |
RTE Hash may access memory after our key if the key length isn't divisible by 4. Use this temp variable to ensure we don't read out of bounds of the original variable.
Definition at line 197 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_pipe_destroy | ( | struct flow_pipes_manager * | manager, |
| uint64_t | pipe_id | ||
| ) |
Definition at line 393 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_pipe_rm_entry | ( | struct flow_pipes_manager * | manager, |
| uint64_t | entry_id | ||
| ) |
Definition at line 432 of file flow_pipes_manager.c.
| doca_error_t pipes_manager_pipes_flush | ( | struct flow_pipes_manager * | manager, |
| uint16_t | port_id | ||
| ) |
RTE Hash may access memory after our key if the key length isn't divisible by 4. Use this temp variable to ensure we don't read out of bounds of the original variable.
Definition at line 471 of file flow_pipes_manager.c.