Hello folks,

I'm experiencing a weird issue. I'm running a current master with linux-cp
plugin enabled.
I create a loopback interface, set it as BVI for a bridge, and create a lcp
for the loop. Almost everywhere it's working just fine. Usually, the trace
looks like this:

virtio-input -> ethernet-input -> ip4-input -> linux-cp-xc-ip4 ->
loop20-output -> l2-input -> etc

But on 2 machines I observe a crash almost immediately as some traffic
comes from the tap interface (which is lcp interface for the loop). It
happens in the "l2-input" node. But the tap interface isn't a part of any
bridge (and obviously it doesn't have any l2 config, and that's why vpp
crashes).

I even enabled VLIB_BUFFER_TRACE_TRAJECTORY to check how the trace looks
like. I can see that the packet goes directly from "ethernet-input" to
"l2-input" (which obviously shouldn't happen).

I double-checked the sources of ethernet-input and the only reason could be
if in ethernet_main.main_intfs[sw_if_index] there's a flag SUBINT_CONFIG_L2
for an untagged subinterface. I checked that in gdb and I don't have such a
flag for my tap interface.

Since I run out of ideas on what to check I'm asking for the help of the
community. So, any ideas/inputs are much appreciated.

-- 
Best regards
Stanislav Zaikin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21140): https://lists.fd.io/g/vpp-dev/message/21140
Mute This Topic: https://lists.fd.io/mt/90117260/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