From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <cunming.liang@intel.com>
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by dpdk.org (Postfix) with ESMTP id E75375921
 for <dev@dpdk.org>; Fri, 17 Jul 2015 07:49:58 +0200 (CEST)
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by orsmga101.jf.intel.com with ESMTP; 16 Jul 2015 22:49:58 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.15,493,1432623600"; d="scan'208";a="730556865"
Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88])
 by orsmga001.jf.intel.com with ESMTP; 16 Jul 2015 22:49:56 -0700
Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by
 KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS)
 id 14.3.224.2; Fri, 17 Jul 2015 13:49:46 +0800
Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by
 SHSMSX152.ccr.corp.intel.com ([169.254.6.146]) with mapi id 14.03.0224.002;
 Fri, 17 Jul 2015 13:49:45 +0800
From: "Liang, Cunming" <cunming.liang@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Thread-Topic: [PATCH v13 06/14] eal/linux: standalone intr event fd create
 support
Thread-Index: AQHQqkSYzH+5luLk5UWsb6xRsNFxQZ3ZQIWAgAYTCOA=
Date: Fri, 17 Jul 2015 05:49:44 +0000
Message-ID: <D0158A423229094DA7ABF71CF2FA0DA31198BD8A@shsmsx102.ccr.corp.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>
 <1604562.W9RU3XWc75@xps13>
In-Reply-To: <1604562.W9RU3XWc75@xps13>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.239.127.40]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "shemming@brocade.com" <shemming@brocade.com>,
 "dev@dpdk.org" <dev@dpdk.org>, "Wang, 
 Liang-min" <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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jul 2015 05:49:59 -0000



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: Tuesday, July 14, 2015 1:02 AM
> To: Liang, Cunming
> Cc: dev@dpdk.org; shemming@brocade.com; david.marchand@6wind.com;
> Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong;
> nhorman@tuxdriver.com
> Subject: Re: [PATCH v13 06/14] eal/linux: standalone intr event fd create=
 support
>=20
> 2015-06-19 12:00, Cunming Liang:
> > +/**
> > + * It enables the fastpath event fds if it's necessary.
>=20
> What means fastpath here?
Here means RX/TX packet I/O interrupt, to distinguish link status interrupt=
 which is processed in a standalone thread.
Will reword the description.
>=20
> > + * It creates event fds when multi-vectors allowed,
> > + * otherwise it multiplexes the single event fds.
>=20
> Maybe a reference to allow multi-vectors is needed.
Will rework it, thanks.
>=20
> > + *
> > + * @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_e=
fd);
> >
>=20