From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0941E8E80 for ; Tue, 13 Oct 2015 11:07:12 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 13 Oct 2015 02:07:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,677,1437462000"; d="scan'208";a="579642989" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by FMSMGA003.fm.intel.com with ESMTP; 13 Oct 2015 02:07:01 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.138]) by IRSMSX154.ger.corp.intel.com ([169.254.12.252]) with mapi id 14.03.0248.002; Tue, 13 Oct 2015 10:07:00 +0100 From: "De Lara Guarch, Pablo" To: Jiuling Bie , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [testpmd] enable lsc to avoid TX stall, TX stall happened in following sequence start show port info 0 Thread-Index: AQHRASDoa21hbgtdQkK1LiDWTDNTxJ5pG52w Date: Tue, 13 Oct 2015 09:07:00 +0000 Message-ID: References: <1444236843-3000-1-git-send-email-bie.jiuling@gmail.com> In-Reply-To: <1444236843-3000-1-git-send-email-bie.jiuling@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] [testpmd] enable lsc to avoid TX stall, TX stall happened in following sequence start show port info 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 09:07:13 -0000 Hi Jiuling, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jiuling Bie > Sent: Wednesday, October 07, 2015 5:54 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [testpmd] enable lsc to avoid TX stall, TX stall happ= ened > in following sequence start show port info 0 >=20 > --- > app/test-pmd/testpmd.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 386bf84..45adefa 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -1779,6 +1779,7 @@ init_port_config(void) > port =3D &ports[pid]; > port->dev_conf.rxmode =3D rx_mode; > port->dev_conf.fdir_conf =3D fdir_conf; > + port->dev_conf.intr_conf.lsc =3D 1; > if (nb_rxq > 1) { > port->dev_conf.rx_adv_conf.rss_conf.rss_key =3D > NULL; > port->dev_conf.rx_adv_conf.rss_conf.rss_hf =3D > rss_hf; > -- > 1.9.1 Several things about your patch: - It looks like this is your first patch (plus the other one you sent a fe= w minutes later): take a look at http://dpdk.org/dev - You forgot to sign off your patches (use --signoff with git commit) - The title of this patch is too long, shorten it and include more informat= ion in the body of the commit message. - I don't know what this patch is trying to solve exactly. It looks like yo= u are saying that there is a bug that makes TX stop when you run the following commands: testpmd> start testpmd> show port info 0 I don't see such bug, could you explain better the steps to reproduce the i= ssue? Thanks, Pablo