From: "Zhang, Helin" <helin.zhang@intel.com>
To: Iain Rankin <idrankin@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Newbie question on Fortville / i40e with regards to L2 filtering
Date: Thu, 9 Oct 2014 07:47:47 +0000 [thread overview]
Message-ID: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A79A1FE@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <CAPct7HJZ=otv7fEVJkiP826KpJGgUR-DZAhkPCwKZMHZ74XtWg@mail.gmail.com>
Hi Iain
It seems that all you wanted to use is about flow director or ether type filter which were all done by Jingjing
Yes, after we sent out patches to dpdk.org, there a lot of code changes have been merged into its master branch. Patching directly to the latest branch might fail. I have two ideas for you.
l Wait to those being accepted, though I don’t think you will choose this way. ☺
l Use git to merge them together, before those being accepted.
1. Check when Jingjing sent out the patches
2. find out by “git log” on your latest branch a commit which has the same date of Jingjing’s sending patches date
3. branch a temporary branch based on that commit
4. patch Jingjing’s code for filters. The patching could be successful 90%.
5. Then merge the master branch to the temporary branch.
6. All lastest code on master branch and patches for filters are all in the single branch.
Regards,
Helin
From: Iain Rankin [mailto:idrankin@gmail.com]
Sent: Thursday, October 9, 2014 3:36 PM
To: Zhang, Helin
Subject: Re: [dpdk-dev] Newbie question on Fortville / i40e with regards to L2 filtering
Hello Helin,
Many thanks for getting back to me, very much appreciated :)
I have been playing with 1.7.1 and its pretty limited with regard to filtering on i40e / Fortville. However, i do notice a number of patches in development that (i think) try to address them.
Our preference is to use L2 filtering (on Fortville 40G DPDK) as we want to steer received Ethernet frames to specific lcore queues. We are willing to consider using 5tuple filtering if L2 (flex) filtering is not available.
So in summary:
Preference 1: L2 Flex Filtering, i.e. a method of recognising any arbitrary pattern within the first 128 bytes of a received packet (as described in testpmd documentation).
Preference 2: 5tuple filtering, i.e. a method to steer packet data based on tuple data; we will have to mangle our Ethernet frame to have source and destination ip addresses.
I have also made email contact with Jingjing regarding the patches. Unfortunately i get "hunk" errors when applying patches to the latest dpdk git repository.
Any additionally any information you may have on Fortville filtering ability would be greatly received.
Kind regards,
Iain
On 9 October 2014 04:12, Zhang, Helin <helin.zhang@intel.com<mailto:helin.zhang@intel.com>> wrote:
Hi Iain
1.7.1 might not include newly developed/fixed filter features. See my comments in specific filters below.
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org<mailto:dev-bounces@dpdk.org>] On Behalf Of Iain Rankin
> Sent: Tuesday, October 7, 2014 10:37 PM
> To: dev@dpdk.org<mailto:dev@dpdk.org>
> Subject: [dpdk-dev] Newbie question on Fortville / i40e with regards to L2
> filtering
>
> Hello all
>
> I have recently started a project that requires DPDK and the new Fortville 40G
> nic.
>
> I am totally new to DPDK so please excuse what might as dumb questions.
>
> Was wondering if anyone can enlighten me to the DPDK support for a number
> of filter types on Fortville / i40e.
>
> I have dpdk 1.7.1 compiled and a number of filter type i've tried to call up using
> testpmd report back "Operation not supported".
>
> I have noticed in threads that there is ongoing work to provide hardware based
> filtering support for fortville / i40e. Anyone know what the current state of
> that?
>
> Basically i am interested in L2 filtering on Fortville:
> filter filter
> mac filter
Mac filter has already been enabled for a long time, there is a bug fix in a patches sent out recently mainly for supporting VMDq by Jing Chen
> vlan filter
Vlan filter has already been enabled for a long time, but it seems with bug, and now being investigated.
> ether_type filter
It has already been supported in the patches for "control packet filter", sent out by Jingjing Wu.
>
> Regards.
Regards,
Helin
prev parent reply other threads:[~2014-10-09 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 14:36 Iain Rankin
2014-10-09 3:12 ` Zhang, Helin
[not found] ` <CAPct7HJZ=otv7fEVJkiP826KpJGgUR-DZAhkPCwKZMHZ74XtWg@mail.gmail.com>
2014-10-09 7:47 ` Zhang, Helin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F35DEAC7BCE34641BA9FAC6BCA4A12E70A79A1FE@SHSMSX104.ccr.corp.intel.com \
--to=helin.zhang@intel.com \
--cc=dev@dpdk.org \
--cc=idrankin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).