Yes it works fine with num-rx-queues 4 and below.

vpp# sh threads

ID Name Type LWP Sched Policy (Priority) lcore Core Socket State

0 vpp_main 2726 other (0) 1 0 0

1 vpp_wk_0 workers 2730 other (0) 2 0 4

2 vpp_wk_1 workers 2731 other (0) 3 0 6

3 vpp_wk_2 workers 2732 other (0) 4 0 8

4 vpp_wk_3 workers 2733 other (0) 5 0 10

5 vpp_wk_4 workers 2734 other (0) 6 0 12

6 vpp_wk_5 workers 2735 other (0) 7 0 14

7 vpp_wk_6 workers 2736 other (0) 8 0 16

8 vpp_wk_7 workers 2737 other (0) 9 0 18

9 vpp_wk_8 workers 2738 other (0) 10 0 20

10 vpp_wk_9 workers 2739 other (0) 11 0 22

11 vpp_wk_10 workers 2740 other (0) 12 0 24

12 vpp_wk_11 workers 2741 other (0) 13 0 26

13 vpp_wk_12 workers 2742 other (0) 14 0 28

14 vpp_wk_13 workers 2743 other (0) 15 0 30

vpp#

ERROR #1: vCPUs = 16 and Worker Threads = 14

vpp# create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 
2048 num-tx-queues 12 num-rx-queues 4 bind

create interface vmxnet3: number of tx queues must be <= 8 and <= number of 
CPU's assigned to VPP

Works fine when num-tx-queues 8 num-rx-queues 4

ERROR #2:

vpp# create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 
2048 num-tx-queues 8 num-rx-queues 5 bind

create interface vmxnet3: error on activating device rc (1)

Works fine when num-tx-queues 8 num-rx-queues 4

vpp# create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 
2048 num-tx-queues 8 num-rx-queues 4 bind

vpp# sh int rx-placement

Thread 1 (vpp_wk_0):

node vmxnet3-input:

vmxnet3-0/13/0/0 queue 0 (polling)

Thread 2 (vpp_wk_1):

node vmxnet3-input:

vmxnet3-0/13/0/0 queue 1 (polling)

Thread 3 (vpp_wk_2):

node vmxnet3-input:

vmxnet3-0/13/0/0 queue 2 (polling)

Thread 4 (vpp_wk_3):

node vmxnet3-input:

vmxnet3-0/13/0/0 queue 3 (polling)

Thank you,
-Ravin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15515): https://lists.fd.io/g/vpp-dev/message/15515
Mute This Topic: https://lists.fd.io/mt/71527703/21656
Mute #vmxnet3: https://lists.fd.io/mk?hashtag=vmxnet3&subid=1480452
Mute #ipsec: https://lists.fd.io/mk?hashtag=ipsec&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to