I am testing VPP  on an EC2 instance with SR-IOV support (m4). VPP is unable to 
return a ping from another (identical) instance. From the trace  shown below, 
it seems the VLAN header is not stripped by the interface which is causing 
packet drop.

I tried creating sub interface for the VLAN 2336 using command here. 
https://docs.fd.io/vpp/16.09/vnet_vnet.html  But, it also gave an error shown 
below. Any suggestions? Is creating sub-interfaces the right approach to solve 
the issue?



vpp# show trace
------------------- Start of thread 0 vpp_main -------------------
Packet 1

00:02:06:142280: dpdk-input
  TenGigabitEthernet0/4/0 rx queue 0
  buffer 0x4d8e: current data 0, length 102, free-list 0, totlen-nifb 0, trace 
0x0
  PKT MBUF: port 0, nb_segs 1, pkt_len 102
    buf_len 2176, data_len 102, ol_flags 0x3, data_off 128, phys_addr 0xa66feb00
    packet_type 0x10
    Packet Offload Flags
      PKT_RX_VLAN_PKT (0x0001) RX packet is a 802.1q VLAN packet
      PKT_RX_RSS_HASH (0x0002) RX packet with RSS hash result 2336
    Packet Types
      RTE_PTYPE_L3_IPV4 (0x0010) IPv4 packet without extension headers
  IP4: 0e:0e:8b:e4:08:f0 -> 0e:ad:41:68:7a:34 802.1q vlan 2336
  ICMP: 10.0.2.58 -> 10.0.2.240
    tos 0x00, ttl 64, length 84, checksum 0x105a
    fragment id 0x1126, flags DONT_FRAGMENT
  ICMP echo_request checksum 0x14d1
00:02:06:142289: ethernet-input
  IP4: 0e:0e:8b:e4:08:f0 -> 0e:ad:41:68:7a:34 802.1q vlan 2336
00:02:06:142294: error-drop
  ethernet-input: unknown vlan



vpp# create sub TenGigabitEthernet0/4/0 2336
create sub-interfaces: rte_eth_dev_vlan_filter[0]: err 1073741824


Thanks
Abhigyan



_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to