DPDK
21.02.0
|
#include <rte_swx_table.h>
Public Member Functions | |
TAILQ_ENTRY (rte_swx_table_entry) node | |
Data Fields | |
uint8_t * | key |
uint8_t * | key_mask |
uint64_t | key_signature |
uint64_t | action_id |
uint8_t * | action_data |
TAILQ_ENTRY | ( | rte_swx_table_entry | ) |
Used to facilitate the membership of this table entry to a linked list.
uint8_t* key |
Key value for the current entry. Array of key_size bytes or NULL if the key_size for the current table is 0.
Definition at line 76 of file rte_swx_table.h.
uint8_t* key_mask |
Key mask for the current entry. Array of key_size bytes that is logically and'ed with key_mask0 of the current table. A NULL value means that all the key bits already enabled by key_mask0 are part of the key of the current entry.
Definition at line 83 of file rte_swx_table.h.
uint64_t key_signature |
Placeholder for a possible compressed version of the key and key_mask of the current entry. Typically a hash signature, its main purpose is to the linked list search operation. Should be ignored by the API functions below.
Definition at line 90 of file rte_swx_table.h.
uint64_t action_id |
Action ID for the current entry.
Definition at line 93 of file rte_swx_table.h.
uint8_t* action_data |
Action data for the current entry. Its size is defined by the action specified by the action_id. It must be NULL when the action data size of the action_id action is NULL. It must never exceed the action_data_size of the table.
Definition at line 100 of file rte_swx_table.h.