From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] net/enic: move link checking init to probe time Date: Wed, 21 Sep 2016 11:59:40 +0100 Message-ID: <20160921105940.GF16464@bricha3-MOBL3> References: <1470778924-6794-1-git-send-email-neescoba@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Nelson Escobar Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id CAEC4968 for ; Wed, 21 Sep 2016 12:59:43 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1470778924-6794-1-git-send-email-neescoba@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Aug 09, 2016 at 02:42:04PM -0700, Nelson Escobar wrote: > The enic DMAs link status information to the host and this requires a > little setup. This setup was being done as a result of calling > rte_eth_dev_start(). But applications expect to be able to check link > status before calling rte_eth_dev_start(). > > This patch moves he link status setup to enic_init() which is called > at device probe time so that link status can be checked anytime. > > Fixes: fefed3d1e62c ("enic: new driver") > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley Applied to dpdk-next-net/rel_16_11 /Bruce