Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
rte_swx_pipeline_table_params(3)      DPDK	rte_swx_pipeline_table_params(3)

NAME
     rte_swx_pipeline_table_params

SYNOPSIS
     #include <rte_swx_pipeline.h>

   Data Fields
     struct rte_swx_match_field_params * fields
     uint32_t n_fields
     const char ** action_names
     int * action_is_for_table_entries
     int * action_is_for_default_entry
     uint32_t n_actions
     const char * default_action_name
     const char * default_action_args
     int default_action_is_const
     const char * hash_func_name

Detailed Description
     Pipeline table parameters.

     Definition at line 653 of file rte_swx_pipeline.h.

Field Documentation
   struct rte_swx_match_field_params* fields
     The  set  of match fields for the current table. Restriction: All the match
     fields of the current table need to be part of the same struct, i.e. either
     all the match fields are part of the same header or all  the  match  fields
     are part of the meta-data.

     Definition at line 659 of file rte_swx_pipeline.h.

   uint32_t n_fields
     The number of match fields for the current table. If set to zero, no 'regu-
     lar'  entries  (i.e.  entries other than the default entry) can be added to
     the current table and the match process always results in lookup miss.

     Definition at line 666 of file rte_swx_pipeline.h.

   const char** action_names
     The set of actions for the current table.

     Definition at line 669 of file rte_swx_pipeline.h.

   int* action_is_for_table_entries
     Array of n_actions flags. For each action, the  associated  flag  indicates
     whether the action can be assigned to regular table entries (when non-zero,
     i.e. true) or not (when zero, i.e. false). When set to NULL, it defaults to
     true for all actions.

     Definition at line 676 of file rte_swx_pipeline.h.

   int* action_is_for_default_entry
     Array  of	n_actions  flags. For each action, the associated flag indicates
     whether the action can be assigned to the default table  entry  (when  non-
     zero,  i.e.  true) or not (when zero, i.e. false). When set to NULL, it de-
     faults to true for all actions.

     Definition at line 683 of file rte_swx_pipeline.h.

   uint32_t n_actions
     The number of actions for the current table. Must be at least one.

     Definition at line 687 of file rte_swx_pipeline.h.

   const char* default_action_name
     The default table action that gets executed on lookup miss. Must be one  of
     the table actions included in the action_names.

     Definition at line 692 of file rte_swx_pipeline.h.

   const char* default_action_args
     Default  action arguments. Specified as a string with the format 'ARG0_NAME
     ARG0_VALUE ...'. The number of arguments in this string must match  exactly
     the  number of arguments of the default action. Must be NULL if the default
     action does not have any arguments.

     Definition at line 699 of file rte_swx_pipeline.h.

   int default_action_is_const
     If non-zero (true), then the default action of the current table cannot  be
     changed. If zero (false), then the default action can be changed in the fu-
     ture with another action from the action_names list.

     Definition at line 706 of file rte_swx_pipeline.h.

   const char* hash_func_name
     Hash  function name. When not set to NULL, it must point to one of the hash
     functions that were registered for the current pipeline. Ignored by the ta-
     ble implementation when not needed. When needed but NULL, the table  imple-
     mentation will select the hash function to use.

     Definition at line 713 of file rte_swx_pipeline.h.

Author
     Generated automatically by Doxygen for DPDK from the source code.

Version 25.11.0 		 Thu Aug 27 2026rte_swx_pipeline_table_params(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=fields&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help