From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 42A3E68A9 for ; Tue, 9 May 2017 18:38:52 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2017 09:38:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,315,1491289200"; d="scan'208";a="85386787" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga004.jf.intel.com with ESMTP; 09 May 2017 09:38:50 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.241]) by IRSMSX152.ger.corp.intel.com ([169.254.6.231]) with mapi id 14.03.0319.002; Tue, 9 May 2017 17:38:49 +0100 From: "Mcnamara, John" To: "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: [PATCH] doc: update ixgbe doc Thread-Index: AQHSw9HFwNNJ4NQv+UWY/zQ71PzCVKHsPYTQ Date: Tue, 9 May 2017 16:38:49 +0000 Message-ID: References: <1493790882-7009-1-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1493790882-7009-1-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjE3NGI1OGItYTExYS00MTNlLTg2M2ItMTg4MjFiMzRjNGYyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlYwU0E2XC91VWZaOHpDOG94bHJRWEpKUTR0UTRCOENOYzlTVjlYRVZ3Y3ZZPSJ9 dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] doc: update ixgbe doc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 16:38:52 -0000 > -----Original Message----- > From: Lu, Wenzhuo > Sent: Wednesday, May 3, 2017 6:55 AM > To: dev@dpdk.org > Cc: Mcnamara, John ; Lu, Wenzhuo > > Subject: [PATCH] doc: update ixgbe doc >=20 > Add more explanation about how to disable MDD on kernel PF. >=20 > Signed-off-by: Wenzhuo Lu > --- > doc/guides/nics/ixgbe.rst | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) >=20 > diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index > 130765b..6773fe5 100644 > --- a/doc/guides/nics/ixgbe.rst > +++ b/doc/guides/nics/ixgbe.rst > @@ -186,9 +186,12 @@ the advanced context descriptor should be set and se= t > 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 kerne= l > -driver that disables MDD or can disable MDD. (Some kernel driver can use > -this CLI 'insmod ixgbe.ko MDD=3D0,0' to disable MDD. Some kernel driver > disables -it by default.) > +PF driver that disables MDD or can disable MDD. > +Some kernel driver already disables MDD by default. > +Some kernel driver can use this CLI "insmod ixgbe.ko MDD=3D0,0" to disab= le > MDD. > +Every "0" in the CLI means a port. Users need to add more "0"s if the > +machine has more ports. For example, if there're 6 ixgbe ports, the CLI > +should be changed to "insmod ixgbe.ko MDD=3D0,0,0,0,0,0". Something like this would be better: ... 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 u= se the command ``insmod ixgbe.ko MDD=3D0,0`` to disable MDD. Each "0" in the command refers to a port. For example, if there are 6 ixgbe ports, the comm= and should be changed to ``insmod ixgbe.ko MDD=3D0,0,0,0,0,0``.