* [PATCH] Use proper mac type for 82576 VF
@ 2014-05-06 11:28 Konstantin Ananyev
[not found] ` <1399375719-18327-1-git-send-email-konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ananyev @ 2014-05-06 11:28 UTC (permalink / raw)
To: dev-VfR2kkLFssw, dev-VfR2kkLFssw
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] Use proper mac type for 82576 VF e1000_vfadapt type corresponds to 82576 VF devices, check e1000_set_mac_type() for more details.
@ 2014-05-06 14:33 Konstantin Ananyev
2014-05-07 13:12 ` Ivan Boule
0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Ananyev @ 2014-05-06 14:33 UTC (permalink / raw)
To: dev-VfR2kkLFssw, dev-VfR2kkLFssw
Signed-off-by: Konstantin Ananyev <konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* 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.
@ 2014-05-07 13:12 ` Ivan Boule
[not found] ` <536A312E.6010708-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Ivan Boule @ 2014-05-07 13:12 UTC (permalink / raw)
To: Konstantin Ananyev; +Cc: dev-VfR2kkLFssw
On 05/06/2014 04:33 PM, Konstantin Ananyev wrote:
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-27 15:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 11:28 [PATCH] Use proper mac type for 82576 VF Konstantin Ananyev
[not found] ` <1399375719-18327-1-git-send-email-konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-05-22 15:32 ` Thomas Monjalon
2014-05-22 15:39 ` Ananyev, Konstantin
[not found] ` <2601191342CEEE43887BDE71AB9772580EFA818A-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-05-22 15:44 ` Thomas Monjalon
-- strict thread matches above, loose matches on Subject: below --
2014-05-06 14:33 [PATCH] Use proper mac type for 82576 VF e1000_vfadapt type corresponds to 82576 VF devices, check e1000_set_mac_type() for more details Konstantin Ananyev
2014-05-07 13:12 ` Ivan Boule
[not found] ` <536A312E.6010708-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-05-27 15:11 ` [PATCH] Use proper mac type for 82576 VF Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).