From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id 3A0FD1B29B for ; Mon, 5 Feb 2018 01:51:55 +0100 (CET) Received: by mail-pl0-f67.google.com with SMTP id f4so10659162plr.10 for ; Sun, 04 Feb 2018 16:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wZl/X0K1VNkVtJSabJcvO9ynA97tWcFR9q5lefk5AOc=; b=VlRsaOGyWAryk1gFKQGPAv5oxRAYquRjwQyARpXVOL8Q/D9R3vF63ENyy28GT7GGBy JwvEvThBKPGAdN4erZ6p7al3PJLuw3tJFu67oEWAvSm50Z299okgGnjE0o/al7qgksRT twEjsET5JxhdVR1wtn9kFLbUsSvCqcgaSURqfmZDzKUz6Kw5WGhf+JHC8ZOGZaW4+siS 6C5KXeFT9dBBOiZi5WeijJxUbG5JkrLADKCYPWdWQRBoeJVFA93ejYL8MXHBad0pO/ZF Uj7miumbI6ftaqQcTBvl/BHb3FClGa2AGnLRleCz1/OHt2/2vWQsjBN2ERr/J32hPoh7 ycYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wZl/X0K1VNkVtJSabJcvO9ynA97tWcFR9q5lefk5AOc=; b=cEVitZkRc1QbMMPn/BUKLgr2hwcfW3gHQ2riRa5CkQoMRUMecW65ynOMFZYmqCxzUj w5r30UV0FkPKh7Fg/Ys7KEQRA0RbaNFKgEr1DTULQ9vxiw0d10lGkOOlApOtpH1yHS7e f8t0CND1vyCCvF+BQ+ddPt3zHBAhDix+k1dyy3d8lC8g+1tZYOBTOd5kHqP4AruigR3C TT8dqs6FFOmMMjAm5zOKd+O9J7OaUv2pxTA7SMOq8E9VsqiIwMcxBmSh3KWRdoadC541 Rsy+UBD99k5BRjMb7LuCx7aA6CjwZYYrX+GiyVAP+Mlr08zBc3pzukgBjg3SfWEN2DAL Wy/Q== X-Gm-Message-State: AKwxytee77xxEfDS/TzBIQ90M8ZUNn8H5DjKEs5NeX6SfiHcfkJgdU1P 3ZCjIMs7hhv8BBWdm4/1K/A= X-Google-Smtp-Source: AH8x225exH/EzK6elzW1OUbKGK+ztVn25yn04IWulmq6y1F6LBRpbq2d8ln29pYZUSjV4Gl6Tny7vQ== X-Received: by 2002:a17:902:6e88:: with SMTP id v8-v6mr42601212plk.374.1517791914567; Sun, 04 Feb 2018 16:51:54 -0800 (PST) Received: from local.opencloud.tech.localdomain ([23.102.225.250]) by smtp.gmail.com with ESMTPSA id b84sm9432835pfj.11.2018.02.04.16.51.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 16:51:54 -0800 (PST) From: xiangxia.m.yue@gmail.com To: beilei.xing@intel.com, wei.dai@intel.com, helin.zhang@intel.com, wenzhuo.lu@intel.com Cc: dev@dpdk.org, Tonghao Zhang Date: Sun, 4 Feb 2018 16:51:33 -0800 Message-Id: <1517791895-3061-4-git-send-email-xiangxia.m.yue@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1517791895-3061-1-git-send-email-xiangxia.m.yue@gmail.com> References: <1517791895-3061-1-git-send-email-xiangxia.m.yue@gmail.com> Subject: [dpdk-dev] [PATCH v3 3/5] net/ixgbe: write disable to ITR counter. 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: Mon, 05 Feb 2018 00:51:55 -0000 From: Tonghao Zhang ixgbe doesn't write the ITR counter, disable it now. Signed-off-by: Tonghao Zhang --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 14296ea..0ea8fe8 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -5853,7 +5853,8 @@ static void ixgbevf_set_vfta_all(struct rte_eth_dev *dev, bool on) break; } IXGBE_WRITE_REG(hw, IXGBE_EITR(IXGBE_MISC_VEC_ID), - ixgbe_calc_itr_interval(RTE_LIBRTE_IXGBE_ITR_INTERVAL)); + ixgbe_calc_itr_interval(RTE_LIBRTE_IXGBE_ITR_INTERVAL) + | IXGBE_EITR_CNT_WDIS); /* set up to autoclear timer, and the vectors */ mask = IXGBE_EIMS_ENABLE_MASK; -- 1.8.3.1