From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Damjan Marion via lists.fd.io Sent: 2020年12月17日 16:22 To: Lijian Zhang <lijian.zh...@arm.com> Cc: vpp-dev <vpp-dev@lists.fd.io>; nd <n...@arm.com> Subject: Re: [vpp-dev] AVF TX bandwidth less than RX
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. [Lijian] Yes, it reports “no free tx slots” vpp# clear errors vpp# show errors Count Node Reason Severity 2539792 eth1-tx no free tx slots error vpp# show errors Count Node Reason Severity 5547120 eth1-tx no free tx slots error — Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18386): https://lists.fd.io/g/vpp-dev/message/18386 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] -=-=-=-=-=-=-=-=-=-=-=-