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 963572C50; Fri, 21 Jul 2017 08:33:18 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jul 2017 23:33:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,388,1496127600"; d="scan'208";a="289611422" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 20 Jul 2017 23:33:17 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Jul 2017 23:33:17 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 20 Jul 2017 23:33:16 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Fri, 21 Jul 2017 14:33:15 +0800 From: "Wu, Jingjing" To: "Guo, Jia" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/i40e: fix link down and negotiation issue Thread-Index: AQHTAc5uOXFXWVCjh06nCa7oYsLfBaJd0ozA Date: Fri, 21 Jul 2017 06:33:14 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810DCDA84@SHSMSX103.ccr.corp.intel.com> References: <1500540302-84503-1-git-send-email-jia.guo@intel.com> <1500606424-83169-1-git-send-email-jia.guo@intel.com> In-Reply-To: <1500606424-83169-1-git-send-email-jia.guo@intel.com> 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 v2] net/i40e: fix link down and negotiation issue 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: Fri, 21 Jul 2017 06:33:19 -0000 > -----Original Message----- > From: Guo, Jia > Sent: Friday, July 21, 2017 11:07 AM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org; Guo, Jia ; stable@dpdk.org > Subject: [PATCH v2] net/i40e: fix link down and negotiation issue >=20 > Enable the functions set link down and set link up in i40e by check phy_t= ype, > and fix the issue of auto negotiation failed in XXV710 when bind kernel d= river > after unbind from dpdk driver by modify the speed setting distinguish fro= m set > link up and down. With this fix, if unbind dpdk to bind kernel driver, no= need to > set auto negotiation and ifconfi up anymore, remove the part from doc. >=20 > Fixes: ca7e599d4506 ("net/i40e: fix link management") > Fixes: 2f1e22817420 ("i40e: skip link control as firmware workaround") > Fixes: 6e145fcc754b ("i40e: support autoneg or force link speed") > Signed-off-by: Jeff Guo Acked-by: Jingjing Wu > --- > v2->v1: fix comment error and redefine variable > --- > doc/guides/nics/i40e.rst | 10 ---------- > drivers/net/i40e/i40e_ethdev.c | 34 ++++++++++++++++++++++------------ > 2 files changed, 22 insertions(+), 22 deletions(-) >=20