* [PATCH] e1000: modify mac type checking before flex filter is programmed
@ 2015-03-26 4:53 Jingjing Wu
[not found] ` <1427345601-21059-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Jingjing Wu @ 2015-03-26 4:53 UTC (permalink / raw)
To: dev-VfR2kkLFssw
This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in
flex filter handling function. It will remove NIC 82576 from flex filter
support.
Signed-off-by: Jingjing Wu <jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
lib/librte_pmd_e1000/igb_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_pmd_e1000/igb_ethdev.c b/lib/librte_pmd_e1000/igb_ethdev.c
index 49843c1..79ad267 100644
--- a/lib/librte_pmd_e1000/igb_ethdev.c
+++ b/lib/librte_pmd_e1000/igb_ethdev.c
@@ -2908,7 +2908,7 @@ eth_igb_flex_filter_handle(struct rte_eth_dev *dev,
struct rte_eth_flex_filter *filter;
int ret = 0;
- MAC_TYPE_FILTER_SUP(hw->mac.type);
+ MAC_TYPE_FILTER_SUP_EXT(hw->mac.type);
if (filter_op == RTE_ETH_FILTER_NOP)
return ret;
--
1.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread[parent not found: <1427345601-21059-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] e1000: modify mac type checking before flex filter is programmed [not found] ` <1427345601-21059-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2015-03-26 5:08 ` Liu, Yong [not found] ` <86228AFD5BCD8E4EBFD2B90117B5E81E10DAA328-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> 2015-03-26 7:50 ` Thomas Monjalon 1 sibling, 1 reply; 5+ messages in thread From: Liu, Yong @ 2015-03-26 5:08 UTC (permalink / raw) To: Wu, Jingjing, dev-VfR2kkLFssw@public.gmane.org > -----Original Message----- > From: Wu, Jingjing > Sent: Thursday, March 26, 2015 12:53 PM > To: dev-VfR2kkLFssw@public.gmane.org > Cc: Wu, Jingjing; Liu, Yong > Subject: [PATCH] e1000: modify mac type checking before flex filter is > programmed > > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > flex filter handling function. It will remove NIC 82576 from flex filter > support. > > Signed-off-by: Jingjing Wu <jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > --- > lib/librte_pmd_e1000/igb_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_pmd_e1000/igb_ethdev.c > b/lib/librte_pmd_e1000/igb_ethdev.c > index 49843c1..79ad267 100644 > --- a/lib/librte_pmd_e1000/igb_ethdev.c > +++ b/lib/librte_pmd_e1000/igb_ethdev.c > @@ -2908,7 +2908,7 @@ eth_igb_flex_filter_handle(struct rte_eth_dev *dev, > struct rte_eth_flex_filter *filter; > int ret = 0; > > - MAC_TYPE_FILTER_SUP(hw->mac.type); > + MAC_TYPE_FILTER_SUP_EXT(hw->mac.type); > > if (filter_op == RTE_ETH_FILTER_NOP) > return ret; > -- > 1.9.3 Acked-by: Marvin Liu <yong.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <86228AFD5BCD8E4EBFD2B90117B5E81E10DAA328-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] e1000: modify mac type checking before flex filter is programmed [not found] ` <86228AFD5BCD8E4EBFD2B90117B5E81E10DAA328-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2015-03-27 10:32 ` Thomas Monjalon 0 siblings, 0 replies; 5+ messages in thread From: Thomas Monjalon @ 2015-03-27 10:32 UTC (permalink / raw) To: Wu, Jingjing; +Cc: dev-VfR2kkLFssw 2015-03-26 05:08, Liu, Yong: > From: Wu, Jingjing > > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > > flex filter handling function. It will remove NIC 82576 from flex filter > > support. > > > > Signed-off-by: Jingjing Wu <jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > > Acked-by: Marvin Liu <yong.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Fixes: 231d43909a31 ("igb: migrate flex filter to new API") Applied, thanks ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] e1000: modify mac type checking before flex filter is programmed [not found] ` <1427345601-21059-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 2015-03-26 5:08 ` Liu, Yong @ 2015-03-26 7:50 ` Thomas Monjalon 2015-03-26 16:08 ` Wu, Jingjing 1 sibling, 1 reply; 5+ messages in thread From: Thomas Monjalon @ 2015-03-26 7:50 UTC (permalink / raw) To: Jingjing Wu; +Cc: dev-VfR2kkLFssw 2015-03-26 12:53, Jingjing Wu: > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > flex filter handling function. It will remove NIC 82576 from flex filter > support. Please, could you explain the goal of this change? Is it a fix? an enhancement? Which behaviour is changed? ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] e1000: modify mac type checking before flex filter is programmed 2015-03-26 7:50 ` Thomas Monjalon @ 2015-03-26 16:08 ` Wu, Jingjing 0 siblings, 0 replies; 5+ messages in thread From: Wu, Jingjing @ 2015-03-26 16:08 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw@public.gmane.org Hi, It's a fix. Because we don't support flex filter in NIC 82576 in current e1000 pmd, So add a check here. Only i350 and 82580 support it. So The MAC_TYPE_FILTER_SUP_EXT is used to check whether the MAC type is i350 or 82580. > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org] > Sent: Thursday, March 26, 2015 12:50 AM > To: Wu, Jingjing > Cc: dev-VfR2kkLFssw@public.gmane.org > Subject: Re: [dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is > programmed > > 2015-03-26 12:53, Jingjing Wu: > > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > > flex filter handling function. It will remove NIC 82576 from flex filter > > support. > > Please, could you explain the goal of this change? > Is it a fix? an enhancement? Which behaviour is changed? ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-27 10:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 4:53 [PATCH] e1000: modify mac type checking before flex filter is programmed Jingjing Wu
[not found] ` <1427345601-21059-1-git-send-email-jingjing.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-03-26 5:08 ` Liu, Yong
[not found] ` <86228AFD5BCD8E4EBFD2B90117B5E81E10DAA328-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-27 10:32 ` Thomas Monjalon
2015-03-26 7:50 ` Thomas Monjalon
2015-03-26 16:08 ` Wu, Jingjing
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).