DPDK usage discussions
 help / color / mirror / Atom feed
From: Yaron Illouz <yaroni@radcom.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: FW: rte flow for arp packet
Date: Sun, 20 Mar 2022 09:47:52 +0000
Message-ID: <AM9PR09MB499515EFE630FC8384BA18C7A1159@AM9PR09MB4995.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <AM9PR09MB499526D83FD6EC02D26AD33FA1119@AM9PR09MB4995.eurprd09.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2029 bytes --]

Is there a way using rte_flow to send arp and ndp packet to specific rx queue with dpdk.
In the rte_flow_item_type struct I don’t see an entry  for arp or ndp like = RTE_FLOW_ITEM_TYPE_ARP
Is there another way to do it ?
For ipv4 I did the following way

                                                pattern[0].type = RTE_FLOW_ITEM_TYPE_ETH;

                                                pattern[0].spec = NULL;



                                                pattern[1].type = RTE_FLOW_ITEM_TYPE_IPV4;

                                                pattern[1].spec = NULL;


From: Yaron Illouz <yaroni@radcom.com>
Sent: Wednesday, March 16, 2022 3:53 PM
To: Ori Kam <orika@nvidia.com>; dev@dpdk.org
Subject: RE: rte flow for arp packet

In the rte_flow_item_type I don’t see an entry  for arp or ndp
Is there another way to do it ?
For ipv4 I did the following way

                                                pattern[0].type = RTE_FLOW_ITEM_TYPE_ETH;

                                                pattern[0].spec = NULL;



                                                pattern[1].type = RTE_FLOW_ITEM_TYPE_IPV4;

                                                pattern[1].spec = NULL;

From: Ori Kam <orika@nvidia.com<mailto:orika@nvidia.com>>
Sent: Wednesday, March 16, 2022 3:11 PM
To: Yaron Illouz <yaroni@radcom.com<mailto:yaroni@radcom.com>>; dev@dpdk.org<mailto:dev@dpdk.org>
Subject: RE: rte flow for arp packet

EXTERNAL EMAIL: Do not click links or attachments unless you recognize the sender and know the content is safe

Hi
You need to create a rule that matches the arp/ndp packets and use the queue action.

From: Yaron Illouz <yaroni@radcom.com<mailto:yaroni@radcom.com>>
Sent: Wednesday, March 16, 2022 2:42 PM
To: dev@dpdk.org<mailto:dev@dpdk.org>
Cc: Ori Kam <orika@nvidia.com<mailto:orika@nvidia.com>>
Subject: rte flow for arp packet

Hi

Is there a way using rte_flow to send arp and ndp packet to specific rx queue with dpdk


[-- Attachment #2: Type: text/html, Size: 10870 bytes --]

           reply	other threads:[~2022-03-20  9:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <AM9PR09MB499526D83FD6EC02D26AD33FA1119@AM9PR09MB4995.eurprd09.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=AM9PR09MB499515EFE630FC8384BA18C7A1159@AM9PR09MB4995.eurprd09.prod.outlook.com \
    --to=yaroni@radcom.com \
    --cc=users@dpdk.org \
    /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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git