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, orUse 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
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 |
|
Crypto sessions |
CRYPTO_MAX_SESSIONS |
|
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 |
PBR rules |
PBR_MAX_RULES |
|
Ebtables rules |
EBT_MAXRULES |
|
GRE tunnels |
GRE_MAX |
|
ECMP maximum path |
MAX_MPATH |
|
LAG master interfaces |
LAG_MAX |
|
LAG slaves |
LAG_SLAVES_MAX |
|
LAG slaves by interface |
LAG_SLAVES_MAX_PER_IFACE |
|
Bridge FDB entries |
BRIDGE_FDB_MAX |
|
Bridge interfaces |
BRIDGE_IFACE_MAX |
|
Bridge ports |
BRIDGE_PORT_MAX |
|
IPsec SA entries |
IPSEC_MAX_SA_ENTRIES |
|
IPsec SP entries |
IPSEC_MAX_SP_ENTRIES |
|
Trie input threshold |
IPSEC_TRIE_IN_DEFAULT_THRESH_MAX |
|
Trie rules |
IPSEC_TRIE_MAXRULES |
|
Trie output threshold |
IPSEC_TRIE_OUT_DEFAULT_THRESH_MAX |
|
SVTI tunnels |
IPSEC_MAX_SVTI |
Fast Path IPsec SVTI - VTI |
XFRMI interfaces |
IPSEC_MAX_XFRMI |
Fast Path IPsec SVTI - XFRMI |
IPv4 conntracks |
NF_CT_MAX |
|
IPv4 NF cache size order |
NF_MAX_CACHE_ORDER |
|
IPv4 rules |
NF_MAXRULES |
|
IPv6 conntracks |
NF6_CT_MAX |
|
IPv6 NF cache size order |
NF6_MAX_CACHE_ORDER |
|
IPv6 rules |
NF6_MAXRULES |
|
MACVLAN interfaces |
MACVLAN_IFACE_MAX |
|
MACVLAN link interfaces |
MACVLAN_LINKIFACE_MAX |
|
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 |
|
Reassembly IPv4 time in queue (ms) |
MAX_IPV4_REASS_MS |
|
Reassembly IPv6 inter-fragment time (ms) |
MAX_IPV6_INTERFRAG_MS |
|
Reassembly IPv6 time in queue (ms) |
MAX_IPV6_REASS_MS |
|
VLAN interfaces |
VLAN_IFACE_MAX |
|
VLAN lower interfaces |
VLAN_LOWER_MAX |
|
VXLAN FBD entries |
VXLAN_FDB_MAX |
|
VXLAN interfaces |
VXLAN_IFACE_MAX |
|
VXLAN ports |
VXLAN_PORT_MAX |