From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id EEBF43005 for ; Fri, 27 Feb 2015 15:22:56 +0100 (CET) Received: by wivr20 with SMTP id r20so562365wiv.2 for ; Fri, 27 Feb 2015 06:22:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=W0Z7yYRBRF3iOZZ4L++ohcq5lyHwC3ml7xLgDgLiwWo=; b=nAcaMNTRbUxGr1JQSx5ES76SqA9rESqu98flqUVSYU1X9ykboQyROaKqcPGFQm93qe 6XDqGbTrbAlzgPD7gsUql8GZjOWo+Ok9rxfUb3+vMUEo8di9s9g7XD6j2ZaBa2u9QvnS woDMHhnwnUHIbXj5V2gyl2AJQLtcad9vzUKqicYIjsobQNOwv6DXtHmlgvzbXJH4o2WY amrgaS0UVpXMUhBGb/2L4qlbk7mqYySeybOk1FUERALax+cYDgYpAoeULYvZIk4vhHiM KEJK5WAKApwByocqRtH2IRDwx4gCg4+nuKRRFYhYUgUlNl5dY/M+//td2FVaGFfR+cIV ZUmw== X-Gm-Message-State: ALoCoQmvzZY/6Xttpxi2ErzUSZ3j6QzSgGBf6408RxIzvxASYb3D8WlN/nvtK1qpB8Ecu3LbeFxy X-Received: by 10.194.122.196 with SMTP id lu4mr28574814wjb.154.1425046976765; Fri, 27 Feb 2015 06:22:56 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ga8sm3052936wib.6.2015.02.27.06.22.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 06:22:56 -0800 (PST) From: Thomas Monjalon To: "Liang, Cunming" Date: Fri, 27 Feb 2015 15:22:18 +0100 Message-ID: <2186284.tU91hJycor@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1424710542-14637-1-git-send-email-danny.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 14:22:57 -0000 2015-02-27 11:21, Liang, Cunming: > From: David Marchand [mailto:david.marchand@6wind.com] > > On Fri, Feb 27, 2015 at 5:56 AM, Cunming Liang wrote: > > > @@ -49,6 +51,8 @@ enum rte_intr_handle_type { > > >=20 > > > struct rte_intr_handle { > > > =20 > > > int fd; /**< file descriptor */ > > > enum rte_intr_handle_type type; /**< handle type */ > > >=20 > > > + int max_intr; /**< max interrupt reque= sted */ > > > + uint32_t vec_num[VFIO_MAX_QUEUE_ID]; /**< rxtx intr vecto= r number */ > > > }; > >=20 > > No need to add those since this is not supported for bsd. >=20 > [Liang, Cunming] max_intr is used in dev_init for pci_dev->intr_handl= e init. > Vec_num is used in ethdev API rx_intr_vec_get. Without it, BSD macro = will > used for each of the reference place. > As they=E2=80=99re quite generic, even bsd will require either max_in= tr or vec > mapping table. Is it needed to build and run DPDK on FreeBSD?