Hi,

The trace looks good to me.

Please use tcpdump to trace on Linux side to see what is happening. Please also 
check for error counters on Linux side.

-br
Mohsin

From: <vpp-dev@lists.fd.io> on behalf of "long...@gmail.com" <long...@gmail.com>
Date: Thursday, April 7, 2022 at 2:57 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Fastest way to connect application in user space to VPP 
#vpp

On Thu, Apr 7, 2022 at 05:04 AM, Mohsin Kazmi wrote:
trace add virtio-input 10
Hi Mohsin.

This is the trace log:

------------------- Start of thread 1 vpp_wk_0 -------------------

Packet 1



00:25:26:931409: virtio-input

  virtio: hw_if_index 1 next-index 4 vring 0 len 42

    hdr: flags 0x00 gso_type 0x00 hdr_len 0 gso_size 0 csum_start 0 csum_offset 
0 num_buffers 1

00:25:26:931412: ethernet-input

  ARP: 0a:00:27:00:00:14 -> ff:ff:ff:ff:ff:ff

00:25:26:931415: l2-input

  l2-input: sw_if_index 1 dst ff:ff:ff:ff:ff:ff src 0a:00:27:00:00:14 
[l2-output ]

00:25:26:931418: l2-output

  l2-output: sw_if_index 2 dst ff:ff:ff:ff:ff:ff src 0a:00:27:00:00:14 data 08 
06 00 01 08 00 06 04 00 01 0a 00

00:25:26:931420: tap0-output

  tap0

  ARP: 0a:00:27:00:00:14 -> ff:ff:ff:ff:ff:ff

  request, type ethernet/IP4, address size 6/4

  0a:00:27:00:00:14/192.168.56.1 -> 00:00:00:00:00:00/192.168.56.101

00:25:26:931422: tap0-tx

    buffer 0x963ba: current data 0, length 42, buffer-pool 0, ref-count 1, 
totlen-nifb 0, trace handle 0x1000000

                    l2-hdr-offset 0 l3-hdr-offset 14

  hdr-sz 0 l2-hdr-offset 0 l3-hdr-offset 14 l4-hdr-offset 0 l4-hdr-sz 0

  ARP: 0a:00:27:00:00:14 -> ff:ff:ff:ff:ff:ff

  request, type ethernet/IP4, address size 6/4

  0a:00:27:00:00:14/192.168.56.1 -> 00:00:00:00:00:00/192.168.56.101



------------------- Start of thread 2 vpp_wk_1 -------------------

Packet 1



00:25:26:931584: virtio-input

  virtio: hw_if_index 2 next-index 4 vring 0 len 42

    hdr: flags 0x00 gso_type 0x00 hdr_len 0 gso_size 0 csum_start 0 csum_offset 
0 num_buffers 1

00:25:26:931587: ethernet-input

  ARP: 02:fe:4d:3e:ec:be -> 0a:00:27:00:00:14

00:25:26:931588: l2-input

  l2-input: sw_if_index 2 dst 0a:00:27:00:00:14 src 02:fe:4d:3e:ec:be 
[l2-output ]

00:25:26:931589: l2-output

  l2-output: sw_if_index 1 dst 0a:00:27:00:00:14 src 02:fe:4d:3e:ec:be data 08 
06 00 01 08 00 06 04 00 02 02 fe

00:25:26:931590: virtio-0/0/8/0-output

  virtio-0/0/8/0

  ARP: 02:fe:4d:3e:ec:be -> 0a:00:27:00:00:14

  reply, type ethernet/IP4, address size 6/4

  02:fe:4d:3e:ec:be/192.168.56.101 -> 0a:00:27:00:00:14/192.168.56.1

00:25:26:931591: virtio-0/0/8/0-tx

    buffer 0x93f04: current data 0, length 42, buffer-pool 0, ref-count 1, 
totlen-nifb 0, trace handle 0x2000000

                    l2-hdr-offset 0 l3-hdr-offset 14

  hdr-sz 0 l2-hdr-offset 0 l3-hdr-offset 14 l4-hdr-offset 0 l4-hdr-sz 0

  ARP: 02:fe:4d:3e:ec:be -> 0a:00:27:00:00:14

  reply, type ethernet/IP4, address size 6/4

  02:fe:4d:3e:ec:be/192.168.56.101 -> 0a:00:27:00:00:14/192.168.56.1


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