From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Boule Subject: Re: [PATCH] Use proper mac type for 82576 VF e1000_vfadapt type corresponds to 82576 VF devices, check e1000_set_mac_type() for more details. Date: Wed, 07 May 2014 15:12:14 +0200 Message-ID: <536A312E.6010708@6wind.com> References: <1399386781-10788-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Konstantin Ananyev Return-path: In-Reply-To: <1399386781-10788-1-git-send-email-konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 05/06/2014 04:33 PM, Konstantin Ananyev wrote: > Signed-off-by: Konstantin Ananyev > --- > 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 Acked. Thanks. -- Ivan Boule 6WIND Development Engineer