On 17.12.2020., at 09:16, Lijian Zhang 
<lijian.zh...@arm.com<mailto:lijian.zh...@arm.com>> wrote:

Hi Damjan,
When I was benchmarking AVF PMD driver with L3fwd and L2-xconnect cases, not 
all packets received via AVF input node ‘avf-input’ are transmitted out via AVF 
output node ‘eth1-tx’.
I have tried to increase the tx-queue-size of avf interface, but it does not 
help. Have checked VNET_DEVICE_CLASS_TX_FN (avf_device_class) (), but didn’t 
find software bottle-neck there.
Is this a normal behavior for XL710 VF interface, and does it mean VF PCIe DMA 
bandwidth in RX direction is higher than that in TX direction?

------L3fwd-------
avf-input                        polling           2369637       606626968      
         0          1.30e1          255.99
eth1-output                      active            2369637       606626968      
         0          5.56e0          255.99
eth1-tx                          active            2369637       442718040      
         0          2.02e1          186.83
ethernet-input                   active            2369637       606626968      
         0          1.26e1          255.99
ip4-input-no-checksum            active            2369637       606626968      
         0          1.91e1          255.99
ip4-lookup                       active            2369637       606626968      
         0          2.06e1          255.99
ip4-rewrite                      active            2369637       606626968      
         0          1.85e1          255.99

------L2-xconnect -------
avf-input                        polling           7342184       779122436      
         0          2.39e1          106.12
eth1-output                      active            7342123       779122436      
         0          6.67e0          106.12
eth1-tx                          active            7342123       429393137      
         0          3.23e1           58.48
ethernet-input                   active            7342123       779122436      
         0          1.37e1          106.12
l2-input                         active            7342123       779122436      
         0          1.14e1          106.12
l2-output                        active            7342123       779122436      
         0          6.19e0          106.12

What "show error" says?

If VPP was not able to enqueue packet to tx queue, it will bunp ‘no free slots’ 
counter.

—
Damjan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18385): https://lists.fd.io/g/vpp-dev/message/18385
Mute This Topic: https://lists.fd.io/mt/79032447/21656
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