logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_swx_table_selector_params

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                rte_swx_table_selector_params(3)

Detailed Description

       Selector table creation parameters.

       Definition at line 25 of file rte_swx_table_selector.h.

Field Documentation

uint32_tgroup_id_offset
       Group ID offset.

       Definition at line 27 of file rte_swx_table_selector.h.

   uint32_tselector_size
       Selector size in bytes. Must be non-zero.

       Definition at line 30 of file rte_swx_table_selector.h.

   uint32_tselector_offset
       Offset of the first byte of the selector within the selector buffer.

       Definition at line 33 of file rte_swx_table_selector.h.

   uint8_t*selector_mask
       Mask of selector_size bytes logically laid over the bytes at positions selector_offset* ..
       (selector_offset + selector_size - 1) of the selector buffer in order to specify which bits from the
       selector buffer are part of the selector and which ones are not. A bit value of 1 in the selector_mask
       means the respective bit in the selector buffer is part of the selector, while a bit value of 0 means the
       opposite. A NULL value means that all the bits are part of the selector, i.e. the selector_mask is an
       all-ones mask.

       Definition at line 43 of file rte_swx_table_selector.h.

   uint32_tmember_id_offset
       Member ID offset.

       Definition at line 46 of file rte_swx_table_selector.h.

   uint32_tn_groups_max
       Maximum number of groups. Must be non-zero.

       Definition at line 49 of file rte_swx_table_selector.h.

   uint32_tn_members_per_group_max
       Maximum number of members per group. Must be non-zero.

       Definition at line 52 of file rte_swx_table_selector.h.

Name

       rte_swx_table_selector_params

Synopsis

       #include <rte_swx_table_selector.h>

   DataFields
       uint32_t group_id_offset
       uint32_t selector_size
       uint32_t selector_offset
       uint8_t * selector_mask
       uint32_t member_id_offset
       uint32_t n_groups_max
       uint32_t n_members_per_group_max

See Also