From 8837aa5d53ccff062cf470d62a018e532642ee6c Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Wed, 14 Oct 2020 22:20:56 +0200 Subject: [PATCH] Add fm10k switch manager meson documentation --- doc/guides/nics/fm10k.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst index 75f992966..daa521ce3 100644 --- a/doc/guides/nics/fm10k.rst +++ b/doc/guides/nics/fm10k.rst @@ -126,9 +126,14 @@ validated with DPDK is 4.1.6. To avoid loading other switch driver from outside of DPDK, there is another way to load switch driver in DPDK. If you want to use the inline switch driver, -you need to set ''CONFIG_RTE_FM10K_SWITCH_MANAGEMENT=y'' in the configure file. +you need to set ``CONFIG_RTE_FM10K_SWITCH_MANAGEMENT=y`` in the configure file. +For meson, set option ``fm10k_switch``. The inline switch driver supports mirror and some flow forward rules. +Configuration of external port speed and flows under inline switch driver +can be done on ``/etc/dpdk_fm10k.conf``. +See ``drivers/net/fm10k/switch/fm10k_config.c`` for more details. + Support for Switch Restart ~~~~~~~~~~~~~~~~~~~~~~~~~~