It works for me although I am on ubuntu 1804 VM. Your statement is unclear to 
me if your problem is strictly related to more than 4 rx-queues or not when you 
say
“but when i try to associate more than 4 num-rx-queues i get error”

Does it work fine when you reduce the number of rx-queues less than 4?

vpp# create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 
2048 num-tx-queues 2 num-rx-queues 4
create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 2048 
num-tx-queues 2 num-rx-queues 4
vpp# sh int
sh int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count
local0                            0     down          0/0/0/0
vmxnet3-0/13/0/0                  1     down         9000/0/0/0
vpp# set interface state vmxnet3-0/13/0/0 up
set interface state vmxnet3-0/13/0/0 up
vpp# sh int
sh int
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count
local0                            0     down          0/0/0/0
vmxnet3-0/13/0/0                  1      up          9000/0/0/0     rx packets  
                   2
                                                                    rx bytes    
                 120
                                                                    drops       
                   2
                                                                    ip4         
                   2
vpp#

$ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:   18.04
Codename:  bionic
$

From: <vpp-dev@lists.fd.io> on behalf of "ravinder.ya...@hughes.com" 
<ravinder.ya...@hughes.com>
Date: Monday, February 24, 2020 at 8:47 PM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] vmxnet3 rx-queue error "vmxnet3 failed to activate dev error 
1" #vmxnet3 #ipsec

VPP IPsec responder on ESXI VM RHEL 7.6

Is there a limitation on the number of num-tx-queues and num-rx-queues we can 
associate with vmxnet3? I have 12 worker threads running but when i try to 
associate more than 4 num-rx-queues i get error saying "vmxnet3 failed to 
activate dev error 1" ....

vppctl create interface vmxnet3 0000:13:00.0 rx-queue-size 2048 tx-queue-size 
2048 num-tx-queues 2 num-rx-queues 4 bind

Reference:


https://vpp.flirble.org/master/db/df1/clicmd_src_plugins_vmxnet3.html
create interface vmxnet3 <pci-address> [rx-queue-size <size>] [tx-queue-size 
<size>] [num-tx-queues <number>] [num-rx-queues <number>] [bind] [gso].

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

View/Reply Online (#15514): https://lists.fd.io/g/vpp-dev/message/15514
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