Bug 606 - x540-AT2: Can not create rte_flow VF (Linux driver)
Summary: x540-AT2: Can not create rte_flow VF (Linux driver)
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 18.11
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: jeffguo
URL:
Depends on:
Blocks:
 
Reported: 2020-12-28 09:17 CET by Thanhnv118
Modified: 2021-02-17 17:36 CET (History)
1 user (show)



Attachments

Description Thanhnv118 2020-12-28 09:17:54 CET
Hi all,

I'm trying to direct a given flow directly to a VF's specific queue and my VF unbind DPDK ( Linux Driver).

As a guide:
https://doc.dpdk.org/guides/sample_app_ug/flow_filtering.html

Bind DPDK driver:

  ./dpdk-devbind -b igb_uio 0000:04:00.1

Create VF:

  echo 1 > /sys/bus/pci/devices/0000:04:00.1/max_vfs

Create action :

  struct rte_flow_action_vf vf = {.id = 0};

  action[0].type = RTE_FLOW_ACTION_TYPE_QUEUE;
  action[0].conf = &queue;
  action[1].type = RTE_FLOW_ACTION_TYPE_VF;
  action[1].conf = &vf;
  action[2].type = RTE_FLOW_ACTION_TYPE_END;

Results:

EAL: Detected 24 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL:   probe driver:8086:1528 net_ixgbe.
:: initializing port: 0 done.
PMD: ether type anti-spoofing is not supported.
Flow can't be created 16 message: Not supported action

I have questions :
1. Can I use rte_flow to direct traffic to VF(Linux Driver) with PF(bind DPDK driver)?
2. What is " ether type anti-spoofing is not supported "?
3. How to set-up rte_flow to direct to VF ?

Brgs,
thanhnv118
Comment 1 Ajit Khaparde 2021-02-17 17:36:01 CET
Jeff, Can you take a look? Thanks

Note You need to log in before you can comment on or make changes to this bug.