From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v13 06/14] eal/linux: standalone intr event fd create support Date: Mon, 13 Jul 2015 19:01:39 +0200 Message-ID: <1604562.W9RU3XWc75@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: shemming@brocade.com, dev@dpdk.org, liang-min.wang@intel.com To: Cunming Liang 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) In-Reply-To: <1434686442-578-7-git-send-email-cunming.liang@intel.com> 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-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); >