Hello

I'm playing with VPP / DPDK on Dell R640 with XL710 40G card
Host is proxmox , SR IOV passing one VF to guest with debian trixie.


I had issue with 26.02 with LCP and ping from Linux to neighbors, while ping 
from VPP was fine
I found issue here in mail list and dowgrade to 25.10 fixed that 


But on both versions,  my buffer is filling almost instantly even if i add one 
empty vlan on switch port.
Now LCP is removed

Arista Config 


OFF-FR-SW14#sh vlan id 1234
% VLAN 1234 not found in current VLAN database
OFF-FR-SW14#conf t
OFF-FR-SW14(config)#vlan 1234
OFF-FR-SW14(config-vlan-1234)#name TEST
OFF-FR-SW14(config-vlan-1234)#int eth53/1
OFF-FR-SW14(config-if-Et53/1)#switchport trunk allowed vlan add 1234

OFF-FR-SW14#sh runn int eth53/1
interface Ethernet53/1
   description PVE5-TEST
   speed forced 40gfull
   switchport trunk allowed vlan 1234
   switchport mode trunk
   no sflow enable
   spanning-tree portfast


The moment i add one vlan, some packets start entering vpp and in couple of 
seconds avail buffer is set to 0


VPPCTL:



vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  

default-numa-0         0     0   2496     2048   967604 967060    59      485  
vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604 967060    59      485  
vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604 967060    60      484  
vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604 967060    60      484  
vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604 967060    60      484  
vpp# show interface 
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count     
eth0                              1      up          2026/0/0/0     rx packets  
                  30
                                                                    rx bytes    
                3521
                                                                    drops       
                  30
                                                                    ip6         
                   1
eth0.4                            2      up           0/0/0/0       
local0                            0     down          0/0/0/0       
vpp# show interface 
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count     
eth0                              1      up          2026/0/0/0     rx packets  
                  30
                                                                    rx bytes    
                3521
                                                                    drops       
                  30
                                                                    ip6         
                   1
eth0.4                            2      up           0/0/0/0       
local0                            0     down          0/0/0/0       
vpp# show interface 
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count     
eth0                              1      up          2026/0/0/0     rx packets  
                  48
                                                                    rx bytes    
                5663
                                                                    drops       
                  45
                                                                    punt        
                   3
                                                                    ip6         
                   1
                                                                    rx-no-buf   
          3790051072
eth0.4                            2      up           0/0/0/0       
local0                            0     down          0/0/0/0       
vpp# show buffers   
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604    0      35    967569 
vpp# 

vpp# show buffers 
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached   Used  
default-numa-0         0     0   2496     2048   967604    0      57    967547 
vpp# show interface 
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count     
eth0                              1      up          2026/0/0/0     rx packets  
                 199
                                                                    rx bytes    
               23632
                                                                    drops       
                 196
                                                                    punt        
                   3
                                                                    ip6         
                   1
                                                                    rx-no-buf   
         52036990336
eth0.4                            2      up           0/0/0/0       
local0                            0     down          0/0/0/0       



Here is startup.conf



unix {
  nodaemon
  log /var/log/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  exec /etc/vpp/exec
}


api-trace { on }
api-segment { gid vpp }
socksvr { default }


cpu {
  main-core 1


  corelist-workers 2-5
}


memory {
   main-heap-size 2G
   main-heap-page-size default-hugepage
}


buffers {
   buffers-per-numa 968000
   default data-size 2048
   page-size default-hugepage
}


statseg {
   size 1G
   page-size default-hugepage
   per-node-counters off
}


logging {
   default-log-level warn
   default-syslog-log-level warn
}


dpdk {
  no-multi-seg
  no-tx-checksum-offload


  ## Bind your Intel 700 Series VF
  dev 0000:00:10.0 {
    name eth0
    ## Create 4 queues so each worker core gets its own traffic stream (RSS)
    num-rx-queues 2
    num-tx-queues 2
    ## Increase descriptors to prevent drops during spikes
    num-rx-desc 256
    num-tx-desc 256
  }
}


plugins {
    plugin default { disable }


    plugin dpdk_plugin.so { enable }
    plugin acl_plugin.so { enable }
    plugin unittest_plugin.so { enable }
}


here is exec script

root@debian:/etc/vpp# cat exec  |grep -v ^#


set interface state eth0 up


create sub-interface eth0 4
set interface state eth0.4 up


Any suggestions why no-rx-buffer is jumping so high instantly and Available 
buffer dropped to zero ?


Thanks in advance.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26900): https://lists.fd.io/g/vpp-dev/message/26900
Mute This Topic: https://lists.fd.io/mt/118419570/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to