From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by dpdk.org (Postfix) with ESMTP id 8D3993005 for ; Fri, 27 Feb 2015 10:59:50 +0100 (CET) Received: by mail-oi0-f45.google.com with SMTP id i138so14732980oig.4 for ; Fri, 27 Feb 2015 01:59:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=t8jWhur9+nJgDMXYvJjpaUddL2QpEUhZ2sK501dvFwI=; b=Fmjn0YLm+b2f1dEBsNz3TRsoxsiGDVoJt7mJcKxL62/c5nscZlYfLNgIgLGCZM7wgL 9yNG92uE2ABY/by8Wr87HXJOtR+Pm5z8VZMAlzD4Gw6vU6QUPb5FSCzItj10ClvoDJ27 xhNO34VHoEAKl/5ZJh5DXdV6EeC9mjy2yCW0heKBA8hfrBfratG20w2vEAV+EVNKyQJS DYED0Ha0WWCGXz5An1i3a6sPQmDKu+80PFTSP+dBa8G3wiPjmPg8JvtKy5bSFpl9ZdyD kHXKoadUhKjHZg4mSKXwEItaAlbxCvAe13nPql6sK2uoCUXL6EtiUwdRhKjbPhtrqTLK VBBg== X-Gm-Message-State: ALoCoQkiA8yUhLPaeqOeJ2p/nggUpAjPUO3ivmQk1ylcNFefETuJfISaDanGLkDJI4kQ6IS48KD4 MIME-Version: 1.0 X-Received: by 10.60.155.135 with SMTP id vw7mr9460302oeb.62.1425031189891; Fri, 27 Feb 2015 01:59:49 -0800 (PST) Received: by 10.76.133.162 with HTTP; Fri, 27 Feb 2015 01:59:49 -0800 (PST) In-Reply-To: <1425012976-10173-4-git-send-email-cunming.liang@intel.com> References: <1424710542-14637-1-git-send-email-danny.zhou@intel.com> <1425012976-10173-1-git-send-email-cunming.liang@intel.com> <1425012976-10173-4-git-send-email-cunming.liang@intel.com> Date: Fri, 27 Feb 2015 10:59:49 +0100 Message-ID: From: David Marchand To: Cunming Liang Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v6 3/8] eal/bsd: dummy for new intr definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 09:59:51 -0000 Hello, On Fri, Feb 27, 2015 at 5:56 AM, Cunming Liang wrote: > > diff --git a/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h > b/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h > index 87a9cf6..b114aac 100644 > --- a/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h > +++ b/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h > @@ -38,6 +38,8 @@ > #ifndef _RTE_LINUXAPP_INTERRUPTS_H_ > #define _RTE_LINUXAPP_INTERRUPTS_H_ > > +#define VFIO_MAX_RXTX_INTR_ID 32 > + > enum rte_intr_handle_type { > RTE_INTR_HANDLE_UNKNOWN = 0, > RTE_INTR_HANDLE_UIO, /**< uio device handle */ > @@ -49,6 +51,8 @@ enum rte_intr_handle_type { > struct rte_intr_handle { > int fd; /**< file descriptor */ > enum rte_intr_handle_type type; /**< handle type */ > + int max_intr; /**< max interrupt requested */ > + uint32_t vec_num[VFIO_MAX_QUEUE_ID]; /**< rxtx intr vector number > */ > }; > No need to add those since this is not supported for bsd. -- David Marchand