TRACE for first run
vpp# trace add vhost-user-input 10
vpp# create vhost socket /tmp/a.sock
VirtualEthernet0/0/0
vpp# set int state VirtualEthernet0/0/0 up
vpp# show int
              Name               Idx       State          Counter          
Count    
VirtualEthernet0/0/0              1         up       rx packets                 
    1
                                                     rx bytes                   
   42
                                                     drops                      
    1
local0                            0        down     
vpp# show trace
------------------- Start of thread 0 vpp_main -------------------
Packet 1

00:01:29:986952: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:01:29:987327: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:01:29:987383: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:01:29:987408: error-drop
  arp-input: Interface is not IP enabled

TRACE for second run
vpp# trace add vhost-user-input 10
vpp# create vhost socket /tmp/a.sock
VirtualEthernet0/0/0
vpp# set int state VirtualEthernet0/0/0 up
vpp# show int
              Name               Idx       State          Counter          
Count    
VirtualEthernet0/0/0              1         up       rx packets                 
65535
                                                     rx bytes                 
2752470
                                                     drops                      
65535
local0                            0        down     
vpp# show trace
------------------- Start of thread 0 vpp_main -------------------
Packet 1

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 2

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 3

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 4

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 5

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 6

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 7

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 8

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 9

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

Packet 10

00:00:25:993064: vhost-user-input
     VirtualEthernet0/0/0 queue 0
   virtio flags:
    SINGLE_DESC Single descriptor packet
   virtio_net_hdr first_desc_len 54
     flags 0x00 gso_type 0
     num_buff 0
00:00:25:993541: ethernet-input
  ARP: 52:54:00:98:01:01 -> ff:ff:ff:ff:ff:ff
00:00:25:993589: arp-input
  request, type ethernet/IP4, address size 6/4
  52:54:00:98:01:01/192.168.3.2 -> 00:00:00:00:00:00/192.168.3.3
00:00:25:993609: error-drop
  arp-input: Interface is not IP enabled

vpp#

Reply via email to