From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 2/4] nfp-uio: new uio driver for netronome nfp6000 card Date: Wed, 21 Oct 2015 17:25:14 +0200 Message-ID: <2304404.uKjJZErY2S@xps13> References: <1444992324-5504-1-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Alejandro Lucero Return-path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id 6D9929597 for ; Wed, 21 Oct 2015 17:26:20 +0200 (CEST) Received: by wicll6 with SMTP id ll6so96364835wic.0 for ; Wed, 21 Oct 2015 08:26:20 -0700 (PDT) In-Reply-To: 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" 2015-10-21 15:39, Alejandro Lucero: > On Wed, Oct 21, 2015 at 6:24 AM, David Marchand > wrote: > > Please, can you elaborate on the need for (yet another) uio driver, rather > > than make igb_uio work with your hardware ? [...] > I have been looking at the possibility of getting rid of nfp_uio. The fact > is our PMD can work without it, both for the PF and VF (not the PMD version > already submitted but one under development). The PF support requires not > using UIO at all, because the device is attached to the BSP driver. The > only problem with this approach is we do not have support for interrupts, > what is not critical (I can see other PMDs not having support for Link > Status Changes) but we do not like it as programs can register callbacks > for these interrupts which would not work at all. > > Interrupt support could be implemented in the BSP, doing the same UIO or > VFIO do, but this will require (minor) changes to DPDK for having another > intr_handle (not UIO, not VFIO). I do not know if other PMDs could also > make use of such a change but I guess that would help to accept those > changes. We are going to have an external handler (used for mlx5): http://dpdk.org/ml/archives/dev/2015-October/024678.html Problem solved :) Is it possible to rework your PMD without nfp-uio? Thanks