- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am now in test sriov mode of the virtual machine network performance, i using two 82599 nic CARDS created eight vf respectively, and then took out two vf card to a virtual machine. During the test by ethtool -S I found that only a queue receiving packets,
through the datasheet i found that if need use multiple queue in vf need configue DCB and tc.
Now i had configuration DCB and TC,but receive packages can only use single queue problem still unsolved
How should I Do to use multiple queues to receive packets in vf?
[root@host ~]# dcbtool gc eth5 dcb
Command: Get Config
Feature: DCB State
Port: eth5
Status: Successful
DCB State: on
[root@host ~]# dcbtool gc eth5 pg
Command: Get Config
Feature: Priority Groups
Port: eth5
Status: Successful
Enable: true
Advertise: true
Willing: true
up2tc: 0 1 2 3 4 5 6 7
pgpct: 13% 13% 13% 13% 12% 12% 12% 12%
pgid: 0 1 2 3 4 5 6 7
uppct: 100% 100% 100% 100% 100% 100% 100% 100%
pg strict: 0 0 0 0 0 0 0 0
num TC's: 8
[root@host ~]# tc qdisc add dev eth5 root mqprio num_tc 8
[root@host ~]# tc qdisc show dev eth5
qdisc mqprio 800a: root tc 8 map 0 1 2 3 4 5 6 7 0 1 1 1 3 3 3 3
queues:(0:0) (1:1) (2:2) (3:3) (4:4) (5:5) (6:6) (7:7)
qdisc pfifo_fast 0: parent 800a:8 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:7 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:6 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:5 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:4 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:3 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent 800a:1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And there is one another question, in the 82599 datasheet, it said that if turn off DCB and set RSS on, when create 16 vf, one pool would be get 4 RSS. IN my test, i found there are 4 RSS when use ethtool -l $NIC. But in the VM, i use ethtool -S $nic, only get 2 rx queue. where is the problem.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page