From 9e5c3faecc152a53b1474312ad29f097d7044e87 Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Wed, 10 May 2017 09:39:41 +0800 Subject: [PATCH] doc: add details about MDD with ixgbe kernel PF Add a better explanation about how to disable MDD (Malicious Driver Detection) in a kernel PF. Signed-off-by: Wenzhuo Lu Acked-by: John McNamara --- doc/guides/nics/ixgbe.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 130765b37e..696ff693cf 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -185,10 +185,13 @@ There's significant performance impact to support MDD. DPDK should check if the advanced context descriptor should be set and set it. And DPDK has to ask the info about the header length from the upper layer, because parsing the packet itself is not acceptable. So, it's too expensive to support MDD. -When using kernel PF + DPDK VF on x550, please make sure using the kernel -driver that disables MDD or can disable MDD. (Some kernel driver can use -this CLI 'insmod ixgbe.ko MDD=0,0' to disable MDD. Some kernel driver disables -it by default.) +When using kernel PF + DPDK VF on x550, please make sure to use a kernel +PF driver that disables MDD or can disable MDD. + +Some kernel drivers already disable MDD by default while some kernels can use +the command ``insmod ixgbe.ko MDD=0,0`` to disable MDD. Each "0" in the +command refers to a port. For example, if there are 6 ixgbe ports, the command +should be changed to ``insmod ixgbe.ko MDD=0,0,0,0,0,0``. Statistics -- 2.20.1