From mboxrd@z Thu Jan 1 00:00:00 1970 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 97F08569A for ; Mon, 13 Jul 2015 19:02:52 +0200 (CEST) Received: by widic2 with SMTP id ic2so17821396wid.0 for ; Mon, 13 Jul 2015 10:02:52 -0700 (PDT) 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=qt5gv50b7se1akiZ6ntkKxxC4a0zyNPJOEq4KR+kJ+U=; b=G/11myAux8nMe6LrHQ9KJoA/pZASAfSsG50/N+TIHI/dkWcqC7aDsisys3LcCjZ4UP REpveRYD68CzHvC5FwGhdxvSQKM4WdBMrradRLmPqD7VL6CYOEQHIecwyRwAUun1sQPM y7kcHkvagkwOEG/uGJBBckc7wDLbWzeBExWYt7Z7nq15+1BJ1e6cT/gQPxLOnYugog2F s5rPed4CH0bLY7qNkjn7A4XXv68P05kfzDT1LlqHrYh8fP9Lb7Lr7wtVpof663fvJYV3 DaEKztiSNtbi3X+VUI6Ml8dF4UbgYNU1Mj23dOP/89XUr+bCbReCDqFCl44buQzC6NJg vx2g== X-Gm-Message-State: ALoCoQkpI+6HyKdrzAFfPV+VdkwWjerCjY68JWIZo6VYDPrE3JLC8W66Up7LYNgM3Ua2/NZTH+lS X-Received: by 10.180.76.202 with SMTP id m10mr24857406wiw.63.1436806972503; Mon, 13 Jul 2015 10:02:52 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id fa8sm15649077wib.14.2015.07.13.10.02.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 10:02:51 -0700 (PDT) From: Thomas Monjalon To: Cunming Liang Date: Mon, 13 Jul 2015 19:01:39 +0200 Message-ID: <1604562.W9RU3XWc75@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1434686442-578-7-git-send-email-cunming.liang@intel.com> References: <1433741351-27005-1-git-send-email-cunming.liang@intel.com> <1434686442-578-1-git-send-email-cunming.liang@intel.com> <1434686442-578-7-git-send-email-cunming.liang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: shemming@brocade.com, dev@dpdk.org, liang-min.wang@intel.com Subject: Re: [dpdk-dev] [PATCH v13 06/14] eal/linux: standalone intr event fd create support 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: Mon, 13 Jul 2015 17:02:52 -0000 2015-06-19 12:00, Cunming Liang: > +/** > + * It enables the fastpath event fds if it's necessary. What means fastpath here? > + * It creates event fds when multi-vectors allowed, > + * otherwise it multiplexes the single event fds. Maybe a reference to allow multi-vectors is needed. > + * > + * @param intr_handle > + * Pointer to the interrupt handle. > + * @param nb_vec > + * Number of interrupt vector trying to enable. > + * @return > + * - On success, zero. > + * - On failure, a negative value. > + */ > +int > +rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd); >