DPDK patches and discussions
 help / color / mirror / Atom feed
From: Kiran Kumar Kokkilagadda <kirankumark@marvell.com>
To: Thomas Monjalon <thomas@monjalon.net>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	"arybchenko@solarflare.com" <arybchenko@solarflare.com>,
	Adrien Mazarguil <adrien.mazarguil@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Clarification on RTE Flow action
Date: Wed, 25 Sep 2019 10:32:26 +0000	[thread overview]
Message-ID: <BYAPR18MB2392B64B3EBA57C2A09C3967AC870@BYAPR18MB2392.namprd18.prod.outlook.com> (raw)
In-Reply-To: <BYAPR18MB2392B1155CF16B73906427FAAC870@BYAPR18MB2392.namprd18.prod.outlook.com>

Hi,
    We have the following use case and need clarification on which RTE Flow action suits the requirement (ACTION_VF and ACTION_PORT_ID, ..).

We have 2 PF's (pf0, pf1) and corresponding VF's (pf0_vf0 , pf1_vf0). And we have 3 applications running.
1st application on pf0 and pf1
2nd application on pf0_vf0
3rd application on pf1_vf0.

We want to direct the traffic matching condition1 from application 1 (traffic  from both pf0 & pf1) needs to send to  application 2 (pf0_vf0)
And matching condition2 from application 1 (traffic from both pf0 & pf1) needs to send to application 3 (pf1_vf0).

To summarize, we need to send traffic from pf0 to pf1_vf0 and traffic from pf1 to pf0_vf0.
If we use ACTION_VF, it is not possible to send the traffic across PF. 
If we use ACTION_PORT_ID and if we have multiple applications running, then port id starts with 0 on multiple applications. So, we can't use it.

So, is there any other action we can use to accommodate this behavior? Or can we add new action ?
And if we don't want to add new action, is there any suggestion on how to handle this case?



Thanks,
Kiran Kumar




           reply	other threads:[~2019-09-25 10:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <BYAPR18MB2392B1155CF16B73906427FAAC870@BYAPR18MB2392.namprd18.prod.outlook.com>]

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=BYAPR18MB2392B64B3EBA57C2A09C3967AC870@BYAPR18MB2392.namprd18.prod.outlook.com \
    --to=kirankumark@marvell.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=thomas@monjalon.net \
    /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).