Re: [vpp-dev] Packet not going to Classifier & action #classify #vpp #flowprobe #vppwithoutdpdk

2020-04-07 Thread comeonyan
Hi Po, I also have the same question, but when i read the code, i find sth. The main code is here: if (PREDICT_TRUE (table_index0 != ~0)) { hash0 = vnet_buffer (b0)->l2_classify.hash; t0 = pool_elt_at_index (vcm->tables, table_index0); e0 = vnet_classify_find_entry (t0, h0, hash0, now); if

Re: [vpp-dev] Packet not going to Classifier & action #classify #vpp #flowprobe #vppwithoutdpdk

2020-01-14 Thread Po
Hi neale, I set the memif0/2 as the arp proxy, with addr: 10.10.2.0/24. It goes to "ip4-flow-classify" but becomes misses... vpp# create tap id 0 tap0 vpp# create interface memif id 2 slave vpp# create interface memif id 3 slave vpp# set interface state memif0/2 up vpp# set interface state

Re: [vpp-dev] Packet not going to Classifier & action #classify #vpp #flowprobe #vppwithoutdpdk

2020-01-14 Thread Neale Ranns via Lists.Fd.Io
Hi, [snip] Trace as below Packet 1 00:04:30:392423: memif-input memif: hw_if_index 2 next-index 4 slot: ring 0 00:04:30:392444: ethernet-input IP4: b2:5f:84:5e:0b:43 -> 9e:db:96:ff:25:fa 00:04:30:392460: error-drop rx:memif0/2 00:04:30:392462: drop ethernet-input: l3 mac mismatch

[vpp-dev] Packet not going to Classifier & action #classify #vpp #flowprobe #vppwithoutdpdk

2020-01-14 Thread cspoyau
Hi Everyone, I would like to use vpp classifier to classify the packet (l3 ip4 src & dst, l4 port) and deliver to desired destination by defined rules. 1. iPerf traffic (vpp1) ---memory interface-> vpp2 2. vpp2 classify the src port of the traffic. src port 12300 goes to TAP 0, src