From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v9 04/12] eal: remove loop over drivers in device detach Date: Wed, 18 Jan 2017 12:12:53 +0100 Message-ID: <1929250.CKgNv5x7Lt@xps13> References: <1484660264-6531-1-git-send-email-shreyansh.jain@nxp.com> <1484735880-17178-1-git-send-email-shreyansh.jain@nxp.com> <1484735880-17178-5-git-send-email-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id 7BB34F973 for ; Wed, 18 Jan 2017 12:12:55 +0100 (CET) Received: by mail-lf0-f47.google.com with SMTP id v186so8311980lfa.1 for ; Wed, 18 Jan 2017 03:12:55 -0800 (PST) In-Reply-To: <1484735880-17178-5-git-send-email-shreyansh.jain@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-18 16:07, Shreyansh Jain: > + dr = dev->driver; > + > ret = rte_pci_match(dr, dev); > I think you don't need to match driver anymore.