From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <wenzhuo.lu@intel.com>
Received: from mga04.intel.com (mga04.intel.com [192.55.52.120])
 by dpdk.org (Postfix) with ESMTP id B53B2378E
 for <dev@dpdk.org>; Wed, 24 May 2017 03:35:34 +0200 (CEST)
Received: from orsmga005.jf.intel.com ([10.7.209.41])
 by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 23 May 2017 18:35:33 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.38,383,1491289200"; 
 d="scan'208,217";a="104640084"
Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201])
 by orsmga005.jf.intel.com with ESMTP; 23 May 2017 18:35:33 -0700
Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by
 FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Tue, 23 May 2017 18:33:27 -0700
Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by
 SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0319.002;
 Wed, 24 May 2017 09:33:24 +0800
From: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
To: Gregory Etelson <gregory@weka.io>
CC: "dev@dpdk.org" <dev@dpdk.org>, "Richardson, Bruce"
 <bruce.richardson@intel.com>, "Yigit, Ferruh" <ferruh.yigit@intel.com>,
 "Zhang, Qi Z" <qi.z.zhang@intel.com>
Thread-Topic: [dpdk-dev] ixgbevf: queue start stop functions
Thread-Index: AQHS0t7ck4T2J+TB30m+nDdA9p5LlKIBFxzAgAAoEICAAXWHEA==
Date: Wed, 24 May 2017 01:33:23 +0000
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B5BC0C8@shsmsx102.ccr.corp.intel.com>
References: <1734368.7xbTXpWpzS@polaris>
 <6A0DE07E22DDAD4C9103DF62FEBC09093B5BB9B3@shsmsx102.ccr.corp.intel.com>
 <2686885.NDBBRvgq08@polaris>
In-Reply-To: <2686885.NDBBRvgq08@polaris>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.239.127.40]
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] ixgbevf: queue start stop functions
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 24 May 2017 01:35:35 -0000

Hi Gregory,

From: Gregory Etelson [mailto:gregory@weka.io]
Sent: Tuesday, May 23, 2017 7:13 PM
To: Lu, Wenzhuo
Cc: dev@dpdk.org; Richardson, Bruce; Yigit, Ferruh; Zhang, Qi Z
Subject: Re: [dpdk-dev] ixgbevf: queue start stop functions


Hello,



I'm working on a procedure that will handle Ethernet link failure over ixgb=
e VF.

Without queues reset functionality I tried to reset DPDK port with

rte_eth_dev_stop();rte_eth_dev_start() sequence.

My tests show that call to dev_stop can hang a process.

Can you suggest another procedure for VF port reset on link down ?

[Wenzhuo] APP need stop rx/tx before stopping the devices and start rx/tx a=
gain after starting the devices. Please reference these 2 functions in test=
pmd, stop_packet_forwarding and start_packet_forwarding.



Thank you.



Regards,

Gregory





On Tuesday, 23 May 2017 03:53:06 IDT Lu, Wenzhuo wrote:

> Hi Gregory,

>

> > -----Original Message-----

> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gregory Etelson

> > Sent: Monday, May 22, 2017 5:36 PM

> > To: dev@dpdk.org<mailto:dev@dpdk.org>

> > Cc: Richardson, Bruce; Yigit, Ferruh; Zhang, Qi Z

> > Subject: [dpdk-dev] ixgbevf: queue start stop functions

> >

> > Hello,

> >

> > ixgbevf PMD has no implementation for RX/TX queue start/stop functions =
in

> > DPDK-17.05.0 Is there a roadmap to add these functions to DPDK ?

> I'm afraid there's no plan to support it because lack of interface betwee=
n PF and VF :(

>

> >

> > Thank you

> > Regards,

> > Gregory