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 8D00568C1 for ; Wed, 10 May 2017 03:03:31 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2017 18:03:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,317,1491289200"; d="scan'208";a="854969569" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 09 May 2017 18:03:29 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 May 2017 18:03:29 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 9 May 2017 18:03:29 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0319.002; Wed, 10 May 2017 09:03:25 +0800 From: "Lu, Wenzhuo" To: "Mcnamara, John" , "dev@dpdk.org" Thread-Topic: [PATCH] doc: update ixgbe doc Thread-Index: AQHSw9HFAoRqg+u2qkq0FQjpIxS28KHrt7iAgAES7iA= Date: Wed, 10 May 2017 01:03:25 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5AC236@SHSMSX103.ccr.corp.intel.com> References: <1493790882-7009-1-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] 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: Wed, 10 May 2017 01:03:32 -0000 Hi John, > -----Original Message----- > From: Mcnamara, John > Sent: Wednesday, May 10, 2017 12:39 AM > To: Lu, Wenzhuo; dev@dpdk.org > Subject: RE: [PATCH] doc: update ixgbe doc >=20 >=20 >=20 > > -----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 > > > > Add more explanation about how to disable MDD on kernel PF. > > > > Signed-off-by: Wenzhuo Lu > > --- > > doc/guides/nics/ixgbe.rst | 9 ++++++--- > > 1 file changed, 6 insertions(+), 3 deletions(-) > > > > 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 > > 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=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 > > +disable > > 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". >=20 > Something like this would be better: >=20 > ... > When using kernel PF + DPDK VF on x550, please make sure to use a kernel > PF driver that disables MDD or can disable MDD. >=20 > Some kernel drivers already disable MDD by default while some kernels can > use 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, th= e > command should be changed to ``insmod ixgbe.ko MDD=3D0,0,0,0,0,0``. Thanks for your comments. I'll reword the patch.