From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 3B1A42A5B for ; Mon, 13 Jul 2015 19:13:55 +0200 (CEST) Received: by wibud3 with SMTP id ud3so2337901wib.0 for ; Mon, 13 Jul 2015 10:13:55 -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=RKgWWS+bIpXcgrt/k4VcE9fmiRdaNGlhHomFy3VnkCc=; b=QxzQazEh3jFDUew+m7RiLNJaUthsAcOw0mn/F8JIm7n5Hgb5FTaxKMqVdjmJS2tNqw ENDpu6rviXd4k/YoWVlURc9pofnjsIwHxfWC7y0msOxgnuBBB4C0aWNRsEnXvBeHahsu w4o8rbZE9aCc/bJMk1nEsjaokJF/so9gM1cz7eq0wdC8Nts4auyvs4o7yJJn7sEfofbD oWDMj+FVDydvZVSQFH/h/zv1VfUEkW55/kTiurmrTrVlaLcbLZ4hNPnjzDnhyH1o10FC 2xsgoKxfc9oPcQ9w9mtf6tMasRQsq6ySp/m2uKlNT9WotO7XragZy6ssl140oriQQyKa h2Tg== X-Gm-Message-State: ALoCoQnG/IKMk2w7YnIOflYg5+C4XULuX7xyPSw1vnZmt5zEZTzf+3PoAjS2L2B7p3qi0WVZbAxP X-Received: by 10.180.88.99 with SMTP id bf3mr25338074wib.75.1436807635052; Mon, 13 Jul 2015 10:13:55 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id pd7sm30280906wjb.27.2015.07.13.10.13.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 10:13:54 -0700 (PDT) From: Thomas Monjalon To: Cunming Liang Date: Mon, 13 Jul 2015 19:12:41 +0200 Message-ID: <2499778.eUArLCzzNx@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-14-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-14-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 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: Mon, 13 Jul 2015 17:13:55 -0000 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. Besides typos, it should be noted that it works only with igb and ixgbe.