* [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211
@ 2017-06-05 5:40 Wei Zhao
2017-06-05 6:14 ` Lu, Wenzhuo
0 siblings, 1 reply; 5+ messages in thread
From: Wei Zhao @ 2017-06-05 5:40 UTC (permalink / raw)
To: dev; +Cc: wenzhuo.lu, Wei Zhao
Add support of i210 and i211 type nic in 2-tuple filter.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
drivers/net/e1000/igb_ethdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index 2817fbb..37cefc3 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++ b/drivers/net/e1000/igb_ethdev.c
@@ -4543,7 +4543,9 @@ igb_add_del_ntuple_filter(struct rte_eth_dev *dev,
break;
case RTE_2TUPLE_FLAGS:
case (RTE_2TUPLE_FLAGS | RTE_NTUPLE_FLAGS_TCP_FLAG):
- if (hw->mac.type != e1000_82580 && hw->mac.type != e1000_i350)
+ if (hw->mac.type != e1000_82580 && hw->mac.type != e1000_i350 &&
+ hw->mac.type != e1000_i210 &&
+ hw->mac.type != e1000_i211)
return -ENOTSUP;
if (add)
ret = igb_add_2tuple_filter(dev, ntuple_filter);
--
2.9.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211
2017-06-05 5:40 [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211 Wei Zhao
@ 2017-06-05 6:14 ` Lu, Wenzhuo
2017-06-05 6:16 ` Zhao1, Wei
2017-06-06 10:42 ` Ferruh Yigit
0 siblings, 2 replies; 5+ messages in thread
From: Lu, Wenzhuo @ 2017-06-05 6:14 UTC (permalink / raw)
To: Zhao1, Wei, dev
Hi,
> -----Original Message-----
> From: Zhao1, Wei
> Sent: Monday, June 5, 2017 1:41 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo; Zhao1, Wei
> Subject: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
>
> Add support of i210 and i211 type nic in 2-tuple filter.
>
> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211
2017-06-05 6:14 ` Lu, Wenzhuo
@ 2017-06-05 6:16 ` Zhao1, Wei
2017-06-06 7:22 ` Zhao1, Wei
2017-06-06 10:42 ` Ferruh Yigit
1 sibling, 1 reply; 5+ messages in thread
From: Zhao1, Wei @ 2017-06-05 6:16 UTC (permalink / raw)
To: Lu, Wenzhuo, dev
Hi ,wenzhuo
> -----Original Message-----
> From: Lu, Wenzhuo
> Sent: Monday, June 5, 2017 2:15 PM
> To: Zhao1, Wei <wei.zhao1@intel.com>; dev@dpdk.org
> Subject: RE: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
>
> Hi,
>
>
> > -----Original Message-----
> > From: Zhao1, Wei
> > Sent: Monday, June 5, 2017 1:41 PM
> > To: dev@dpdk.org
> > Cc: Lu, Wenzhuo; Zhao1, Wei
> > Subject: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
> >
> > Add support of i210 and i211 type nic in 2-tuple filter.
> >
> > Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
I will commit v3 later to rework code as your suggestion.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211
2017-06-05 6:16 ` Zhao1, Wei
@ 2017-06-06 7:22 ` Zhao1, Wei
0 siblings, 0 replies; 5+ messages in thread
From: Zhao1, Wei @ 2017-06-06 7:22 UTC (permalink / raw)
To: Lu, Wenzhuo, 'dev@dpdk.org'
I'm sorry for this mistake, this patch is ok and I will not deliver a new version.
The mail about v3 before is intended to be reply to another mail else.
Thank you.
> -----Original Message-----
> From: Zhao1, Wei
> Sent: Monday, June 5, 2017 2:16 PM
> To: Lu, Wenzhuo <wenzhuo.lu@intel.com>; dev@dpdk.org
> Subject: RE: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
>
> Hi ,wenzhuo
>
> > -----Original Message-----
> > From: Lu, Wenzhuo
> > Sent: Monday, June 5, 2017 2:15 PM
> > To: Zhao1, Wei <wei.zhao1@intel.com>; dev@dpdk.org
> > Subject: RE: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
> >
> > Hi,
> >
> >
> > > -----Original Message-----
> > > From: Zhao1, Wei
> > > Sent: Monday, June 5, 2017 1:41 PM
> > > To: dev@dpdk.org
> > > Cc: Lu, Wenzhuo; Zhao1, Wei
> > > Subject: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
> > >
> > > Add support of i210 and i211 type nic in 2-tuple filter.
> > >
> > > Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> > Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
>
> I will commit v3 later to rework code as your suggestion.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211
2017-06-05 6:14 ` Lu, Wenzhuo
2017-06-05 6:16 ` Zhao1, Wei
@ 2017-06-06 10:42 ` Ferruh Yigit
1 sibling, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2017-06-06 10:42 UTC (permalink / raw)
To: Lu, Wenzhuo, Zhao1, Wei, dev
On 6/5/2017 7:14 AM, Lu, Wenzhuo wrote:
> Hi,
>
>
>> -----Original Message-----
>> From: Zhao1, Wei
>> Sent: Monday, June 5, 2017 1:41 PM
>> To: dev@dpdk.org
>> Cc: Lu, Wenzhuo; Zhao1, Wei
>> Subject: [PATCH] net/e1000: add support 2-tuple filter on i210/i211
>>
>> Add support of i210 and i211 type nic in 2-tuple filter.
>>
>> Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-06-06 10:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 5:40 [dpdk-dev] [PATCH] net/e1000: add support 2-tuple filter on i210/i211 Wei Zhao
2017-06-05 6:14 ` Lu, Wenzhuo
2017-06-05 6:16 ` Zhao1, Wei
2017-06-06 7:22 ` Zhao1, Wei
2017-06-06 10:42 ` Ferruh Yigit
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).