From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f195.google.com (mail-ot0-f195.google.com [74.125.82.195]) by dpdk.org (Postfix) with ESMTP id CA506727F for ; Thu, 11 Jan 2018 15:46:30 +0100 (CET) Received: by mail-ot0-f195.google.com with SMTP id d10so2267888oti.7 for ; Thu, 11 Jan 2018 06:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CQxGO0aqv337Wy564MYbaf5Accubwi6jTlIvyV1aecQ=; b=gV6rQQokCDXN2WFhqNcbVbLyNQVbzKeggc2O8X65ZaZC5drQNcQ6UrKGV00y384tX3 nnjNp39XQ24gCqRgdhHQwM/q2D07jqQF7wIVy0ittf81A4tEJGbjcfbbMXJp6+yw9vkD PPJMaji3aCIh2NEghX68PuGG2ElKo3rv4gR0TkFcQCo6fC5AehpM7k5s2Q+cOmJXlc2e HwQK7+CxucZsKjH7NlNqP5NwBKnCwkmH9XczO1DNXbsvGNfGJE2TaisD6rW9Y3Puekjm 03RdNCWX8CYoIZVfc9kQ/SmKodYXT2CxikoR9V9373XkNCmx5f+PJNyo1YK/trsuAxKu hQrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CQxGO0aqv337Wy564MYbaf5Accubwi6jTlIvyV1aecQ=; b=uObdbdEeYiVQsbe6AE363oDTj/Nk78n1f7FVsoPytis5H+yfovORAukfWq10wdYJhG NcbHNxy3otXKvNt9pQKdsLDbr6++58h/MD8DqrFO0kGiJid1Ark49QIgTQsEDu6s61Zw GgbrY0kvSChn1XSYJXTgoBk3qV0iha91Q2X/3O4xiTv63TVeAxEIyzjT6IN6Ou39EI// 9vVRty/98KbOGB1oMHQrHt3HDS474E1ZJw0cMNe//yqspO7Xzffb6WaL1zSrrXz7esYc LWXWRrqIJNLbfgQjclZQFXHQWBDwOQHoSIH0xtDACATi+XfJh58EBVgH71zyODCJ4NmX 6Rgw== X-Gm-Message-State: AKwxytfq4sY2MzZsgxZsGblYYgCG3wDuMLOiiE1sdpTdpE77q60PwWne mSxyRQIrJyuj5MWm9yeIm+zCA5n+rZVdTmP7zkGkcw== X-Google-Smtp-Source: ACJfBovM3XxnFddlJZygP6x5fCyib4/TYYt4ohrzBndQ1+AQRQ47Ncd3YCYyg3/MLQ3Ywc90exdzdrzGCCwdAGS7kR4= X-Received: by 10.157.26.52 with SMTP id a49mr12110264ote.238.1515681990203; Thu, 11 Jan 2018 06:46:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.151.65 with HTTP; Thu, 11 Jan 2018 06:46:29 -0800 (PST) In-Reply-To: <94479800C636CB44BD422CB454846E013208ACB9@SHSMSX101.ccr.corp.intel.com> References: <1515161439-4792-1-git-send-email-xiangxia.m.yue@gmail.com> <1515161439-4792-2-git-send-email-xiangxia.m.yue@gmail.com> <94479800C636CB44BD422CB454846E013208ACB9@SHSMSX101.ccr.corp.intel.com> From: Tonghao Zhang Date: Thu, 11 Jan 2018 22:46:29 +0800 Message-ID: To: "Xing, Beilei" Cc: "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 2/5] net/ixgbevf: set the inter-interrupt interval for EITR. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 14:46:31 -0000 On Thu, Jan 11, 2018 at 3:26 PM, Xing, Beilei wrote: > > >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tonghao Zhang >> Sent: Friday, January 5, 2018 10:11 PM >> To: dev@dpdk.org >> Cc: Tonghao Zhang >> Subject: [dpdk-dev] [PATCH 2/5] net/ixgbevf: set the inter-interrupt interval >> for EITR. >> >> Set EITR interval as default. This patch can improve the performance when >> we enable the rx-intrrupt to process the packets because we hope rx- >> intrrupt reduce CPU. >> >> The 200us value of EITR makes the performance better with the low CPU. >> >> Signed-off-by: Tonghao Zhang >> --- >> drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c >> b/drivers/net/ixgbe/ixgbe_ethdev.c >> index e67389f..b20cab9 100644 >> --- a/drivers/net/ixgbe/ixgbe_ethdev.c >> +++ b/drivers/net/ixgbe/ixgbe_ethdev.c >> @@ -5780,6 +5780,9 @@ static void ixgbevf_set_vfta_all(struct rte_eth_dev >> *dev, bool on) >> if (vector_idx < base + intr_handle->nb_efd - 1) >> vector_idx++; >> } >> + >> + IXGBE_WRITE_REG(hw, IXGBE_VTEITR(IXGBE_MISC_VEC_ID), >> + IXGBE_EITR_INTERVAL_US(200) | > > Is it possible to configure interval via DPDK configuration? Just like CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL for i40e. > Maybe the value is good for you but not suitable for other users. Thanks for you tips. > > Besides, seems the patches in the patchset have no dependency, needn't put them into one patchset, and then the Acked patch can be applied quickly. > >> IXGBE_EITR_CNT_WDIS); >> } >> >> /** >> -- >> 1.8.3.1 >