Hi,
I have bought up a VPP on ubuntu with QEMU hypervisor. I spawn a new VM with 
vhost inetrface. No packets are seen on vhost interface and what I see memory 
region allocated is 0. Can you please help how to mitigate this ?

vpp# show version
vpp v22.10-rc1~4-g61bae8a54~b6 built by root on db88ee5ae86e at 
2022-10-10T23:45:33
vpp#
vpp# show int
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
BondEthernet0                     6      up          9000/0/0/0
BondEthernet0.70                  7      up           0/0/0/0
TenGigabitEthernet2/0/0           1      up          9000/0/0/0     tx packets  
                1950
tx bytes                  241800
TenGigabitEthernet2/0/1           2      up          9000/0/0/0     tx packets  
                  28
tx bytes                    3096
TenGigabitEthernet2/0/1.147       8      up           0/0/0/0       tx packets  
                   7
tx bytes                     774
TenGigabitEthernet2/0/1.151       10     up           0/0/0/0       tx packets  
                   7
tx bytes                     774
TenGigabitEthernet2/0/1.100       12     up           0/0/0/0       tx packets  
                   7
tx bytes                     774
TenGigabitEthernet2/0/1.159       17     up           0/0/0/0       tx packets  
                   7
tx bytes                     774
TenGigabitEthernet6/0/0           3      up          9000/0/0/0     tx packets  
                1950
tx bytes                  241800
TenGigabitEthernet6/0/1           4      up          9000/0/0/0
VirtualEthernet0/0/0              11     up          9000/0/0/0     tx-error    
                   7
VirtualEthernet0/0/1              15     up          9000/0/0/0     tx-error    
                   4
VirtualEthernet0/0/2              16     up          9000/0/0/0     tx-error    
                   6
VirtualEthernet0/0/3              18     up          9000/0/0/0     tx-error    
                   7
local0                            0     down          0/0/0/0
loop0                             5      up          9000/0/0/0
tap0                              9      up          9000/0/0/0     rx packets  
                   7
rx bytes                     746
drops                          4
tap1                              13     up          9000/0/0/0     rx packets  
                   7
rx bytes                     746
drops                          6
tap2                              14     up          9000/0/0/0     rx packets  
                   7
rx bytes                     746
drops                          7
tap3                              19     up          9000/0/0/0     rx packets  
                   7
rx bytes                     746
drops                          7
vpp# show interface vhost
show interface: unknown input `vhost'
vpp#
vpp# show vhost
Virtio vhost-user interfaces
Global:
coalesce frames 32 time 1e-3
Number of rx virtqueues in interrupt mode: 0
Number of GSO interfaces: 0
Thread 0: Polling queue count 4
Interface: VirtualEthernet0/0/0 (ifindex 8)
Number of qids 4
virtio_net_hdr_sz 12
features mask (0xfffffffbdfffa27c):
features (0x150608000):
VIRTIO_NET_F_MRG_RXBUF (15)
VIRTIO_NET_F_GUEST_ANNOUNCE (21)
VIRTIO_NET_F_MQ (22)
VIRTIO_RING_F_INDIRECT_DESC (28)
VHOST_USER_F_PROTOCOL_FEATURES (30)
VIRTIO_F_VERSION_1 (32)
protocol features (0x3)
VHOST_USER_PROTOCOL_F_MQ (0)
VHOST_USER_PROTOCOL_F_LOG_SHMFD (1)

socket filename /tmp/52aa3aaf-5f0d-47d7-874f-8311e5aaf3f6 type client errno 
"Success"

rx placement:
thread 0 on vring 1, polling
tx placement

Memory regions (total 0)

Interface: VirtualEthernet0/0/1 (ifindex 11)
Number of qids 4
virtio_net_hdr_sz 12
features mask (0xfffffffbdfffa27c):
features (0x150608000):
VIRTIO_NET_F_MRG_RXBUF (15)
VIRTIO_NET_F_GUEST_ANNOUNCE (21)
VIRTIO_NET_F_MQ (22)
VIRTIO_RING_F_INDIRECT_DESC (28)
VHOST_USER_F_PROTOCOL_FEATURES (30)
VIRTIO_F_VERSION_1 (32)
protocol features (0x3)

vpp# show bridge-domain 12 detail
BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
ARP-Term  arp-ufwd Learn-co Learn-li   BVI-Intf
12       3      0      3         on        on       flood        on       off   
    off        0    16777216     N/A
SPAN (span-l2-input)
INPUT_CLASSIFY (l2-input-classify)
INPUT_FEAT_ARC (l2-input-feat-arc)
POLICER_CLAS (l2-policer-classify)
ACL (l2-input-acl)
VPATH (vpath-input-l2)
L2_IP_QOS_RECORD (l2-ip-qos-record)
VTR (l2-input-vtr)
LEARN (l2-learn)
RW (l2-rw)
FWD (l2-fwd)
UU_FLOOD (l2-flood)
FLOOD (l2-flood)
XCONNECT (l2-output)

Interface           If-idx ISN  SHG  BVI  TxFlood        VLAN-Tag-Rewrite
TenGigabitEthernet2/0/1.100    12    1    0    -      *                 pop-1
tap1                13    1    0    -      *                 none
VirtualEthernet0/0/2        16    1    0    -      *                 none
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22051): https://lists.fd.io/g/vpp-dev/message/22051
Mute This Topic: https://lists.fd.io/mt/94432596/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to