DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] how to select correct queue/action that match VF device
@ 2016-05-31 20:31 Michael Umansky
  0 siblings, 0 replies; only message in thread
From: Michael Umansky @ 2016-05-31 20:31 UTC (permalink / raw)
  To: users

Any help is greatly appreciated.

I'm trying to use DPDK (16.04) over a VF device (ixgbe NIC, latest kernel
driver too).

create the VF device:

# echo 1 > /sys/class/net/enp7s0f0/device/sriov_numvfs

bind the VF device (07:10.0) in DPDK to vfio-pci

turn on the flow director (on the parent PF device)

# ethtool -K enp7s0f0 ntuple on

now want to redirect specific traffic to queue that belongs to VF device
created above

# ethtool -U enp7s0f0 flow-type tcp4 dst-port 5555 action Q

How do I determine the correct value for Q in above command?

What's the relationship between VF generated device number (0, 1, etc) and
NIC's PF's queue numbers assigned to that VF device?

Are there DPDK API calls to determine and/or select the above
programmatically?

thanks
Michael

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

only message in thread, other threads:[~2016-05-31 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31 20:31 [dpdk-users] how to select correct queue/action that match VF device Michael Umansky

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