Maximum parameter valuesΒΆ
Default maximum parameters values for fast path features are set in the
fp.config
file, generated once you built from sources, or delivered
along with the executable files.
There are several ways to modify these values to suit your needs:
At compilation time:
- Edit manually the
fp.config
file, or - Use the menuconfig textual interface to change values (refer to the 6WINDGate Build Framework documentation).
Use this
fp-cli
command to display parameters used at compile time:<fp-0> conf compiled
- Edit manually the
At runtime (values set at runtime will override compilation-time values).
Use this
fp-cli
command to display current runtime values:<fp-0> conf runtime
Note
Changing parameters at runtime is only available for DPDK and Octeon architectures.
The following table sums up what each parameter refers to (the parameters are
all prefixed with CONFIG_MCORE_
):
Maximum number of | Parameter | Module |
---|---|---|
FPN logical cores allocated to the fast path | FPN_MAX_CORES | FPN-SDK Baseline |
Crypto sessions | CRYPTO_MAX_SESSIONS | FPN-SDK Baseline |
IPv4 addresses | MAX_NB_ADDR4 | Fast Path Baseline |
IPv6 addresses | MAX_NB_ADDR6 | Fast Path Baseline |
Ports | MAX_PORT | Fast Path Baseline |
VRs | MAX_VR | Fast Path Baseline |
VNB nodes | VNB_MAX_NS | Fast Path Baseline |
PBR rules | PBR_MAX_RULES | Fast Path Policy-Based Routing |
Ebtables rules | EBT_MAXRULES | Fast Path Filtering Ethernet Bridge |
GRE tunnels | GRE_MAX | Fast Path GRE |
ECMP maximum path | MAX_MPATH | Fast Path Forwarding IPv4 |
LAG master interfaces | LAG_MAX | Fast Path LAG |
LAG slaves | LAG_SLAVES_MAX | Fast Path LAG |
LAG slaves by interface | LAG_SLAVES_MAX_PER_IFACE | Fast Path LAG |
Bridge FDB entries | BRIDGE_FDB_MAX | Fast Path Ethernet Bridge |
Bridge interfaces | BRIDGE_IFACE_MAX | Fast Path Ethernet Bridge |
Bridge ports | BRIDGE_PORT_MAX | Fast Path Ethernet Bridge |
IPsec SA entries | IPSEC_MAX_SA_ENTRIES | Fast Path IPsec IPv4 |
IPsec SP entries | IPSEC_MAX_SP_ENTRIES | Fast Path IPsec IPv4 |
Trie input threshold | IPSEC_TRIE_IN_DEFAULT_THRESH_MAX | Fast Path IPsec IPv4 |
Trie rules | IPSEC_TRIE_MAXRULES | Fast Path IPsec IPv4 |
Trie output threshold | IPSEC_TRIE_OUT_DEFAULT_THRESH_MAX | Fast Path IPsec IPv4 |
SVTI tunnels | IPSEC_MAX_SVTI | Fast Path IPsec SVTI |
IPv4 conntracks | NF_CT_MAX | Fast Path Filtering IPv4 |
IPv4 NF cache size order | NF_MAX_CACHE_ORDER | Fast Path Filtering IPv4 |
IPv4 rules | NF_MAXRULES | Fast Path Filtering IPv4 |
IPv6 conntracks | NF6_CT_MAX | Fast Path Filtering IPv6 |
IPv6 NF cache size order | NF6_MAX_CACHE_ORDER | Fast Path Filtering IPv6 |
IPv6 rules | NF6_MAXRULES | Fast Path Filtering IPv6 |
MACVLAN interfaces | MACVLAN_IFACE_MAX | Fast Path MACVLAN |
MACVLAN link interfaces | MACVLAN_LINKIFACE_MAX | Fast Path MACVLAN |
Multicast IPv4 GRP | MULTICAST4_GRP_MAX | Fast Path Multicast IPv4 |
Multicast IPv4 MFC | MULTICAST4_MFC_MAX | Fast Path Multicast IPv4 |
Multicast IPv6 GRP | MULTICAST6_GRP_MAX | Fast Path Multicast IPv6 |
Multicast IPv6 MFC | MULTICAST6_MFC_MAX | Fast Path Multicast IPv6 |
Reassembly IPv4 inter-fragment time (ms) | MAX_IPV4_INTERFRAG_MS | Fast Path Reassembly IPv4 |
Reassembly IPv4 time in queue (ms) | MAX_IPV4_REASS_MS | Fast Path Reassembly IPv4 |
Reassembly IPv6 inter-fragment time (ms) | MAX_IPV6_INTERFRAG_MS | Fast Path Reassembly IPv6 |
Reassembly IPv6 time in queue (ms) | MAX_IPV6_REASS_MS | Fast Path Reassembly IPv6 |
VLAN interfaces | VLAN_IFACE_MAX | Fast Path VLAN |
VLAN lower interfaces | VLAN_LOWER_MAX | Fast Path VLAN |
VXLAN FBD entries | VXLAN_FDB_MAX | Fast Path VXLAN |
VXLAN interfaces | VXLAN_IFACE_MAX | Fast Path VXLAN |
VXLAN ports | VXLAN_PORT_MAX | Fast Path VXLAN |