DPDK usage discussions
 help / color / mirror / Atom feed
* How to use rte_flow to distribute ARP packets between the Rx queues of 82599ES NIC
@ 2021-09-30 12:27 Pavel Vazharov
  0 siblings, 0 replies; only message in thread
From: Pavel Vazharov @ 2021-09-30 12:27 UTC (permalink / raw)
  To: users

Hi there,

The DPDK setup for our application includes two 82599ES 10-Gigabit cards
setup in bonding mode BONDING_MODE_8023AD.
I'm trying to setup rte_flows logic which distributes the IPv4 and ARP
packets between the Rx queues based on their destination.
I'm able to setup the flows for the IPv4 packets using
rte_flow_validate result is 0 and the rte_flow_create returns non null
However, when I try to do the same for the ARP packets using the following
         const rte_flow_action_queue queue = {.index = rx_q};
        const rte_flow_action action[] = {


                .type = RTE_FLOW_ACTION_TYPE_QUEUE,

                .conf = &queue,



                .type = RTE_FLOW_ACTION_TYPE_END,

                .conf = nullptr,


I get an error from rte_flow_validate. The error code is EINVAL. The error
message is "Not supported action." and the rte_flow_error.cause pointer
points to the first element of my action array above. Just for the test I
tried to change the action to RTE_FLOW_ACTION_TYPE_DROP and setting the
conf to NULL but I got exactly the same error. The error is returned for
rx_q = 0 and the bond port has been setup with 8 Rx and 8 Tx queues.
Am I doing something wrong or the device doesn't support rte_flow actions
for ARP packets?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-30 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 12:27 How to use rte_flow to distribute ARP packets between the Rx queues of 82599ES NIC Pavel Vazharov

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 \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

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