Try to dump hardware counters with "show hardware"
That my give you more information what's wrong...

As you are using VF, my wild guess is that you may have promisc mode disabled. 
Try to dump PF
details with 'ip link show dev XXX"

-- 
Damjan

> On 1 Aug 2018, at 00:52, chakravarthy.arise...@viasat.com wrote:
> 
> Hi,
> 
> When VPP is sending out the traffic through DPDK device, it encounters 
> transmit errors? Can someone shed some light what might be happening?
> 
> Thanks
> Chakri
> 
> vpp# show int
>               Name               Idx       State          Counter          
> Count
> VirtualFunctionEthernet0/6/0      1         up       rx packets              
> 21141847
>                                                      rx bytes             
> 33657724324
>                                                      tx packets               
>      62
>                                                      tx bytes                 
>    2604
>                                                      ip4                     
> 21141785
> VirtualFunctionEthernet0/7/0      2         up       rx packets               
>      62
>                                                      rx bytes                 
>    2604
>                                                      tx packets              
> 21141847
>                                                      tx bytes             
> 33657724324
>                                                      tx-error                 
> 3675066
> local0                            0         up
> loop1                             3         up
> loop2                             5         up
> memif1/1                          7         up       tx packets              
> 21141785
>                                                      tx bytes             
> 32600632470
> memif2/2                          8         up       rx packets              
> 21141785
>                                                      rx bytes             
> 32600632470
> vxlan_tunnel1                     4         up       rx packets              
> 21141785
>                                                      rx bytes             
> 32600632470
> vxlan_tunnel2                     6         up       tx packets              
> 21141785
>                                                      tx bytes             
> 33361736730
> vpp# sh error
>    Count                    Node                  Reason
>   10570865              vxlan4-input              good packets decapsulated
>   21141785              vxlan4-encap              good packets encapsulated
>   31712650                l2-output               L2 output packets
>   31712650                l2-learn                L2 learn packets
>   31712650                l2-input                L2 input packets
>        126                arp-input               ARP replies sent
>    3675066     VirtualFunctionEthernet0/7/0-tx    Tx packet drops (dpdk tx 
> failure)
>   10570920              vxlan4-input              good packets decapsulated
>   10570920                l2-output               L2 output packets
>   10570920                l2-learn                L2 learn packets
>   10570920                l2-input                L2 input packets
> 
> Thread 0 vpp_main (lcore 1)
> Time 957448.6, average vectors/node 1.00, last 128 main loops 0.00 per node 
> 0.00
>   vector rates in 0.0000e0, out 2.0889e-6, drop 0.0000e0, punt 0.0000e0
>              Name                 State         Calls          Vectors        
> Suspends         Clocks       Vectors/Call
> VirtualFunctionEthernet0/6/0-o   active                  1               1    
>            0          9.65e3            1.00
> VirtualFunctionEthernet0/6/0-t   active                  1               1    
>            0          2.03e4            1.00
> VirtualFunctionEthernet0/7/0-o   active                  1               1    
>            0          6.08e3            1.00
> VirtualFunctionEthernet0/7/0-t   active                  1               1    
>            0          1.11e4            1.00
> acl-plugin-fa-cleaner-process  event wait                0               0    
>            1          2.51e4            0.00
> admin-up-down-process          event wait                0               0    
>            1          1.12e3            0.00
> api-rx-from-ring                any wait                 0               0    
>        68101          1.24e4            0.00
> avf-process                    event wait                0               0    
>            1          6.97e3            0.00
> bfd-process                    event wait                0               0    
>            1          1.64e4            0.00
> cdp-process                     any wait                 0               0    
>       127877          2.62e3            0.00
> dhcp-client-process             any wait                 0               0    
>         9575          3.55e3            0.00
> dns-resolver-process            any wait                 0               0    
>          958          4.02e3            0.00
> dpdk-ipsec-process                done                   1               0    
>            0          1.29e5            0.00
> dpdk-process                    any wait                 0               0    
>       319126          5.14e4            0.00
> fib-walk                        any wait                 0               0    
>       478648          1.65e3            0.00
> flow-report-process             any wait                 0               0    
>            1          1.23e3            0.00
> flowprobe-timer-process         any wait                 0               0    
>            1          8.66e3            0.00
> igmp-timer-process             event wait                0               0    
>            1          8.13e3            0.00
> ikev2-manager-process           any wait                 0               0    
>       957158          9.69e2            0.00
> ioam-export-process             any wait                 0               0    
>            1          1.45e4            0.00
> ip-route-resolver-process       any wait                 0               0    
>         9575          2.62e3            0.00
> ip4-reassembly-expire-walk      any wait                 0               0    
>        95742          3.95e3            0.00
> ip6-icmp-neighbor-discovery-ev  any wait                 0               0    
>       957158          9.32e2            0.00
> ip6-reassembly-expire-walk      any wait                 0               0    
>        95742          3.95e3            0.00
> l2fib-mac-age-scanner-process  event wait                0               0    
>            1          2.57e3            0.00
> lacp-process                   event wait                0               0    
>            1          1.37e7            0.00
> lisp-retry-service              any wait                 0               0    
>       478648          1.77e3            0.00
> lldp-process                   event wait                0               0    
>            1          8.96e6            0.00
> memif-process                   any wait                 0               0    
>       319112          2.29e3            0.00
> nat-det-expire-walk               done                   1               0    
>            0          3.36e3            0.00
> nat64-expire-walk              event wait                0               0    
>            1          2.27e4            0.00
> rd-cp-process                   any wait                 0               0    
>   1690289702          8.45e3            0.00
> send-garp-na-process           event wait                0               0    
>            1          1.04e3            0.00
> send-rs-process                 any wait                 0               0    
>            1          1.59e3            0.00
> startup-config-process            done                   1               0    
>            1          2.89e3            0.00
> wildcard-ip4-arp-publisher-pro event wait                0               0    
>            1          1.43e3            0.00
> ---------------
> Thread 1 vpp_wk_0 (lcore 2)
> Time 957448.6, average vectors/node 2.85, last 128 main loops 0.00 per node 
> 0.00
>   vector rates in 1.3943e3, out 1.3622e3, drop 5.8384e-4, punt 0.0000e0
>              Name                 State         Calls          Vectors        
> Suspends         Clocks       Vectors/Call
> VirtualFunctionEthernet0/6/0-o   active           40291923        52858910    
>            0          1.45e2            1.31
> VirtualFunctionEthernet0/6/0-t   active           40291923        52858910    
>            0          6.64e2            1.31
> VirtualFunctionEthernet0/7/0-o   active          256812614       771572184    
>            0          6.99e1            3.00
> VirtualFunctionEthernet0/7/0-t   active          256812614       740824976    
>            0          4.34e2            2.88
> arp-input                        active              34471           34484    
>            0          9.46e3            1.00
> dpdk-input                       polling     3138571344030       510615259    
>            0          2.46e6            0.00
> error-drop                       active                514             559    
>            0          1.70e3            1.09
> ethernet-input                   active          283519146       824431158    
>            0          1.25e2            2.91
> interface-output                 active              34000           34000    
>            0          6.74e2            1.00
> ip4-drop                         active                  4               4    
>            0          1.14e3            1.00
> ip4-input                        active          183103607       510581195    
>            0          1.16e2            2.79
> ip4-load-balance                 active          283485140       824397094    
>            0          8.88e1            2.91
> ip4-local                        active          183103607       510581195    
>            0          1.09e2            2.79
> ip4-lookup                       active          183103607       510581195    
>            0          1.10e2            2.79
> ip4-rewrite                      active          283485140       824397094    
>            0          8.69e1            2.91
> ip4-udp-lookup                   active          183103603       510581191    
>            0          1.02e2            2.79
> l2-flood                         active                918             982    
>            0          2.21e3            1.07
> l2-fwd                           active          466588379      1334977862    
>            0          7.72e1            2.86
> l2-input                         active          466588743      1334978285    
>            0          8.34e1            2.86
> l2-learn                         active          466588743      1334978285    
>            0          9.56e1            2.86
> l2-output                        active          466588743      1334978285    
>            0          8.87e1            2.86
> lldp-input                       active                  2               3    
>            0          1.52e3            1.50
> memif-input                      polling     3138118724530       824397094    
>            0          1.69e6            0.00
> unix-epoll-input                 polling         269868375               0    
>            0          1.03e4            0.00
> vxlan4-encap                     active          283485140       824397094    
>            0          1.49e2            2.91
> dpdk-input                       polling     3116797941277       313815903    
>            0          4.14e6            0.00
> error-drop                       active                416             417    
>            0          1.49e3            1.00
> ip4-input                        active          193575708       313815903    
>            0          1.61e2            1.62
> ip4-local                        active          193575708       313815903    
>            0          1.39e2            1.62
> ip4-lookup                       active          193575708       313815903    
>            0          1.28e2            1.62
> ip4-udp-lookup                   active          193575708       313815903    
>            0          1.23e2            1.62
> l2-flood                         active                832             834    
>            0          1.97e3            1.00
> l2-fwd                           active          193575296       313815486    
>            0          1.11e2            1.62
> l2-input                         active          193575708       313815903    
>            0          1.39e2            1.62
> l2-learn                         active          193575708       313815903    
>            0          1.37e2            1.62
> l2-output                        active          193575708       313815903    
>            0          1.00e2            1.62
> lldp-input                       active                  2               3    
>            0          3.81e3            1.50
> memif-input                      polling     3116360677016               0    
>            0          4.38e2            0.00
> unix-epoll-input                 polling         256055745               0    
>            0          1.03e4            0.00
> vxlan4-input                     active          193575708       313815903    
>            0          1.56e2            1.62
> memif1/1-output                  active          173846318       287287413    
>            0          1.05e2            1.65
> memif1/1-tx                      active          173846318       287287413    
>            0          2.31e3            1.65
> memif2/2-output                  active           23557047        26528490    
>            0          1.65e2            1.13
> memif2/2-tx                      active           23557047        26528490    
>            0          1.35e3            1.13
> 
> vpp# sh threads
> ID     Name                Type        LWP     Sched Policy (Priority)  lcore 
>  Core   Socket State
> 0      vpp_main                        1733    other (0)                1     
>  1      0
> 1      vpp_wk_0            workers     1745    other (0)                2     
>  2      0
> 2      vpp_wk_1            workers     1746    other (0)                3     
>  3      0
> 3                          stats       1747    other (0)                0     
>  0      0
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#9998): https://lists.fd.io/g/vpp-dev/message/9998
> Mute This Topic: https://lists.fd.io/mt/23982730/675642
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10001): https://lists.fd.io/g/vpp-dev/message/10001
Mute This Topic: https://lists.fd.io/mt/23982730/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