FW: rte flow for arp packet
Yaron Illouz
yaroni at radcom.com
Sun Mar 20 10:47:52 CET 2022
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 at radcom.com>
Sent: Wednesday, March 16, 2022 3:53 PM
To: Ori Kam <orika at nvidia.com>; dev at 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 at nvidia.com<mailto:orika at nvidia.com>>
Sent: Wednesday, March 16, 2022 3:11 PM
To: Yaron Illouz <yaroni at radcom.com<mailto:yaroni at radcom.com>>; dev at dpdk.org<mailto:dev at 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 at radcom.com<mailto:yaroni at radcom.com>>
Sent: Wednesday, March 16, 2022 2:42 PM
To: dev at dpdk.org<mailto:dev at dpdk.org>
Cc: Ori Kam <orika at nvidia.com<mailto:orika at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220320/f9887177/attachment.htm>
More information about the users
mailing list