From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by dpdk.org (Postfix) with ESMTP id 3D1058E93 for ; Wed, 4 Nov 2015 14:06:15 +0100 (CET) Received: by oiww189 with SMTP id w189so3806370oiw.3 for ; Wed, 04 Nov 2015 05:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jld0iDOEzzQ6+8sQtTiINHvHHOTJ/uGkvoO7ViDzxo4=; b=DwevO5tl7+xt3NYiTRBS3YmpRs6XxOjpPZ3M7AZOV1LagyqVBS4h2WjlDFgyN0cnpC KrVcFNAkPyqQqD6Bmb/vAIKKMYMxVcx7PruK73iWrOwRsvsn6bKnXXgQXCOc+jcPD/YP EHJ26VGcmNLe2aZSCC4cUI/gkvfZkl5jQDGaXbRgyfJuh+ZHkwcJguE9nIpig+ldOPZc y84gqJN8qrt7Pw/V3I5XyGaD5biNB9Ea9p6banYguwr3QRHJanE0JVf8exe3j7eUIhb9 9u8r2L1mHC3mPPKfKsT8eriHqPKghdvmIpL4jcT35rwjMYUpVzVfnzKZv9OL1G6/fkGJ JdiA== 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=jld0iDOEzzQ6+8sQtTiINHvHHOTJ/uGkvoO7ViDzxo4=; b=P9g+6hdN5ffizVxl1MPqTUWIGtFV8gkCFWMCLga+/xt2YEc+P6q5BEP74tefOMaDf/ 390m2i+7JdhKLqx1RCyVFNv4E392LHYJ4dx46TWJG5Zr5nS1pMnYNopJHiSiXyJyQVg+ wrv6uk3IdxZKg4avkNsZZRsGkpEbzvnF+xCV6ZuTmuFEK8+bNWYum2sRoUez6mrRgNh8 rbnHnGPvhK7g8AKWb9f49UM6772tBBXVHn0iAH3iJAGjpWRElmzDFUwO/P+uM3JPxBTJ I5hqbpnxAiQuurkWWF7N+znMVWYCYFZ2WEZqNu4cFDZxhFMf6jecFOmhh/mk6MvNEGTT B5kQ== X-Gm-Message-State: ALoCoQmI6UNHIX5BHUhhKB22EeBZs+frWgq2nf/OKg/CNFaDv1LTqD2UefJMLV+YdwYKhUstRvS8 MIME-Version: 1.0 X-Received: by 10.202.79.130 with SMTP id d124mr723832oib.13.1446642374642; Wed, 04 Nov 2015 05:06:14 -0800 (PST) Received: by 10.76.131.166 with HTTP; Wed, 4 Nov 2015 05:06:14 -0800 (PST) In-Reply-To: <1446626740-28824-2-git-send-email-cunming.liang@intel.com> References: <1446617263-7448-1-git-send-email-cunming.liang@intel.com> <1446626740-28824-1-git-send-email-cunming.liang@intel.com> <1446626740-28824-2-git-send-email-cunming.liang@intel.com> Date: Wed, 4 Nov 2015 14:06:14 +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 v4 01/13] eal: vfio map misc intr to vector zero 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: Wed, 04 Nov 2015 13:06:15 -0000 On Wed, Nov 4, 2015 at 9:45 AM, Cunming Liang wrote: > During VFIO_DEVICE_SET_IRQS, the previous order is {Q0_fd, ... Qn_fd, > misc_fd}. > The vector number of misc is indeterminable which is ugly to some NIC(e.g. > i40e, fm10k). > The patch adjusts the order in {misc_fd, Q0_fd, ... Qn_fd}, always reserve > the first vector to misc interrupt. > > v3 changes: > - rename MISC_VEC_ID to RTE_INTR_VEC_ZERO_OFFSET > - rename RX_VEC_START to RTE_INTR_VEC_RXTX_OFFSET > - add macro definition in bsd header file > > Signed-off-by: Cunming Liang > Acked-by: David Marchand -- David Marchand