From patchwork Fri Aug 25 16:02:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 28002 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 6CDA790FD; Fri, 25 Aug 2017 18:02:49 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A32317D9B for ; Fri, 25 Aug 2017 18:02:41 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Aug 2017 09:02:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.41,426,1498546800"; d="scan'208"; a="1188144706" Received: from silpixa00397898.ir.intel.com (HELO silpixa00397898.ger.corp.intel.com) ([10.237.223.116]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2017 09:02:39 -0700 From: David Hunt To: dev@dpdk.org Cc: David Hunt , Nemanja Marjanovic , Rory Sexton Date: Fri, 25 Aug 2017 17:02:21 +0100 Message-Id: <1503676941-80981-11-git-send-email-david.hunt@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503676941-80981-1-git-send-email-david.hunt@intel.com> References: <1503676941-80981-1-git-send-email-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v1 10/10] net/i40e: set register for no drop 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" See the XL710 controller datasheet for more information on this register Signed-off-by: Nemanja Marjanovic Signed-off-by: Rory Sexton Signed-off-by: David Hunt --- drivers/net/i40e/i40e_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index d9806fc..24b713e 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -1156,7 +1156,7 @@ eth_i40e_dev_init(struct rte_eth_dev *dev) * in firmware in the future. */ i40e_configure_registers(hw); - + I40E_WRITE_REG(hw, I40E_PRTDCB_TC2PFC, 0xff); /* Get hw capabilities */ ret = i40e_get_cap(hw); if (ret != I40E_SUCCESS) {