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 363EEB0C6 for ; Tue, 6 May 2014 13:29:07 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 06 May 2014 04:29:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,996,1389772800"; d="scan'208";a="506673201" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 06 May 2014 04:29:09 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s46BT8dc004621; Tue, 6 May 2014 12:29:08 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s46BT8e2019049; Tue, 6 May 2014 12:29:08 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id s46BT8ff019045; Tue, 6 May 2014 12:29:08 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Tue, 6 May 2014 12:28:39 +0100 Message-Id: <1399375719-18327-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.0.7 To: dev@dpdk.org Subject: [dpdk-dev] [PATCH] Use proper mac type for 82576 VF 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: Tue, 06 May 2014 11:29:07 -0000 e1000_vfadapt type corresponds to 82576 VF devices, check e1000_set_mac_type() for more details. --- lib/librte_pmd_e1000/igb_rxtx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/librte_pmd_e1000/igb_rxtx.c b/lib/librte_pmd_e1000/igb_rxtx.c index 6b454a5..7fe1780 100644 --- a/lib/librte_pmd_e1000/igb_rxtx.c +++ b/lib/librte_pmd_e1000/igb_rxtx.c @@ -2154,7 +2154,7 @@ eth_igbvf_rx_init(struct rte_eth_dev *dev) rxdctl &= 0xFFF00000; rxdctl |= (rxq->pthresh & 0x1F); rxdctl |= ((rxq->hthresh & 0x1F) << 8); - if (hw->mac.type == e1000_82576) { + if (hw->mac.type == e1000_vfadapt) { /* * Workaround of 82576 VF Erratum * force set WTHRESH to 1 -- 1.7.7.6