| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
describes the configuration of the PSP networking service on the local host. More...
#include </opt/mellanox/doca/applications/psp_gateway/psp_gw_config.h>

Data Fields | |
| struct application_dpdk_config | dpdk_config |
| std::string | pf_pcie_addr |
| std::string | pf_repr_indices |
| std::string | core_mask |
| std::string | local_svc_addr |
| std::string | json_path |
| rte_ether_addr | dcap_dmac |
| bool | nexthop_enable |
| rte_ether_addr | nexthop_dmac |
| uint32_t | max_tunnels |
| struct psp_gw_net_config | net_config |
| uint16_t | log2_sample_rate |
| uint32_t | ingress_sample_meta_indicator |
| uint32_t | egress_sample_meta_indicator |
| uint32_t | return_to_vf_indicator |
| bool | create_tunnels_at_startup |
| bool | show_sampled_packets |
| bool | show_rss_rx_packets |
| bool | show_rss_durations |
| bool | disable_ingress_acl |
| bool | debug_keys |
| bool | print_stats |
| bool | maintain_order |
| uint16_t | print_perf_flags |
| enum doca_flow_l3_type | outer |
| enum doca_flow_l3_type | inner |
| struct rte_hash * | ip6_table |
| enum psp_gw_mode | mode |
| std::vector< entries_status > | status |
describes the configuration of the PSP networking service on the local host.
Definition at line 129 of file psp_gw_config.h.
| std::string psp_gw_app_config::core_mask |
Definition at line 134 of file psp_gw_config.h.
| bool psp_gw_app_config::create_tunnels_at_startup |
Definition at line 166 of file psp_gw_config.h.
| rte_ether_addr psp_gw_app_config::dcap_dmac |
Definition at line 139 of file psp_gw_config.h.
| bool psp_gw_app_config::debug_keys |
Definition at line 171 of file psp_gw_config.h.
| bool psp_gw_app_config::disable_ingress_acl |
Definition at line 170 of file psp_gw_config.h.
| struct application_dpdk_config psp_gw_app_config::dpdk_config |
Definition at line 122 of file psp_gw_config.h.
| uint32_t psp_gw_app_config::egress_sample_meta_indicator |
Definition at line 163 of file psp_gw_config.h.
| uint32_t psp_gw_app_config::ingress_sample_meta_indicator |
Definition at line 162 of file psp_gw_config.h.
| enum doca_flow_l3_type psp_gw_app_config::inner |
Definition at line 174 of file psp_gw_config.h.
| struct rte_hash* psp_gw_app_config::ip6_table |
Definition at line 177 of file psp_gw_config.h.
| std::string psp_gw_app_config::json_path |
Definition at line 137 of file psp_gw_config.h.
| std::string psp_gw_app_config::local_svc_addr |
Definition at line 136 of file psp_gw_config.h.
| uint16_t psp_gw_app_config::log2_sample_rate |
The rate of sampling user packets is controlled by a uint16_t mask. This parameter determines how many bits of the mask should be set, with more bits indicating fewer packets to sample. (i.e. packet.meta.rand & mask == 1, where mask = (1<<N)-1) 0 -> sample no packets 1 -> sample 1 in 2 2 -> sample 1 in 4 ... 16 -> sample 1 in 2^16 ~ 64K SAMPLE_RATE_DISABLED -> sampling disabled
Definition at line 160 of file psp_gw_config.h.
| bool psp_gw_app_config::maintain_order |
Definition at line 173 of file psp_gw_config.h.
| uint32_t psp_gw_app_config::max_tunnels |
Definition at line 144 of file psp_gw_config.h.
| enum psp_gw_mode psp_gw_app_config::mode |
Definition at line 177 of file psp_gw_config.h.
| struct psp_gw_net_config psp_gw_app_config::net_config |
Definition at line 144 of file psp_gw_config.h.
| rte_ether_addr psp_gw_app_config::nexthop_dmac |
Definition at line 142 of file psp_gw_config.h.
| bool psp_gw_app_config::nexthop_enable |
Definition at line 141 of file psp_gw_config.h.
| enum doca_flow_l3_type psp_gw_app_config::outer |
Definition at line 174 of file psp_gw_config.h.
| std::string psp_gw_app_config::pf_pcie_addr |
Definition at line 132 of file psp_gw_config.h.
| std::string psp_gw_app_config::pf_repr_indices |
Definition at line 133 of file psp_gw_config.h.
| uint16_t psp_gw_app_config::print_perf_flags |
Definition at line 174 of file psp_gw_config.h.
| bool psp_gw_app_config::print_stats |
Definition at line 172 of file psp_gw_config.h.
| uint32_t psp_gw_app_config::return_to_vf_indicator |
Definition at line 164 of file psp_gw_config.h.
| bool psp_gw_app_config::show_rss_durations |
Definition at line 169 of file psp_gw_config.h.
| bool psp_gw_app_config::show_rss_rx_packets |
Definition at line 168 of file psp_gw_config.h.
| bool psp_gw_app_config::show_sampled_packets |
Definition at line 167 of file psp_gw_config.h.
| std::vector<entries_status> psp_gw_app_config::status |
Definition at line 179 of file psp_gw_config.h.