DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 606] x540-AT2: Can not create rte_flow VF (Linux driver)
@ 2020-12-28  8:17 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-12-28  8:17 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=606

            Bug ID: 606
           Summary: x540-AT2: Can not create rte_flow VF (Linux driver)
           Product: DPDK
           Version: 18.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: eventdev
          Assignee: dev@dpdk.org
          Reporter: vanthanh2721997@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

only message in thread, other threads:[~2020-12-28  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28  8:17 [dpdk-dev] [Bug 606] x540-AT2: Can not create rte_flow VF (Linux driver) bugzilla

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).