From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1E7BA9E5 for ; Fri, 17 Jul 2015 08:01:45 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Jul 2015 23:01:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,493,1432623600"; d="scan'208";a="766155169" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2015 23:01:30 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 17 Jul 2015 13:59:39 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.165]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.46]) with mapi id 14.03.0224.002; Fri, 17 Jul 2015 13:59:38 +0800 From: "Liang, Cunming" To: Thomas Monjalon Thread-Topic: [PATCH v13 13/14] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch Thread-Index: AQHQqkSgvz3+HSDKo0eM/x//ASahq53ZQ5qAgAYTOfA= Date: Fri, 17 Jul 2015 05:59:37 +0000 Message-ID: References: <1433741351-27005-1-git-send-email-cunming.liang@intel.com> <1434686442-578-1-git-send-email-cunming.liang@intel.com> <1434686442-578-14-git-send-email-cunming.liang@intel.com> <2499778.eUArLCzzNx@xps13> In-Reply-To: <2499778.eUArLCzzNx@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" , "dev@dpdk.org" , "Wang, Liang-min" Subject: Re: [dpdk-dev] [PATCH v13 13/14] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch 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, 17 Jul 2015 06:01:46 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, July 14, 2015 1:13 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 13/14] l3fwd-power: enable one-shot rx interrupt = and > polling/interrupt mode switch >=20 > 2015-06-19 12:00, Cunming Liang: > > Demonstrate how to handle per rx queue interrupt in a NAPI-like > > implementation in usersapce. PDK polling thread mainly works in > > polling mode and switch to interrupt mode only if there is no > > any packet received in recent polls. > > Usersapce interrupt notification generally takes a lot more cycles > > than kernel, so one-shot interrupt is used here to guarantee minimum > > overhead and DPDK polling thread returns to polling mode immediately > > once it receives an interrupt notificaiton for incoming packet. >=20 > Besides typos, it should be noted that it works only with igb and ixgbe. Will reword the commit comments, thanks for the notice.