VPP commit fail message is not clear for max-map-count option
set system option kernel disable-mitigations set system option kernel memory hugepage-size 2M hugepage-count '3072' set vpp settings interface eth1 driver 'dpdk' set vpp settings memory main-heap-size '4G'
commit:
vyos@r14# commit [ vpp ] The max_map_count must be greater than or equal to (2 * HugePages_Total) [[vpp]] failed Commit failed [edit] vyos@r14#
The option could be found under
set vpp settings host-resources max-map-count xxx
But it is not clear for a user.
And probably it is a good idea to mention this and show the current value.
It is not clear what max_map_count is and where it should be configured.
Not sure if it is a bug or a feature.