Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-13 Thread Dimitar Ivanov
Thank You. Now mactime node is visited in both cases - before and after set bridge-domain. W/o bridge-domain: root@ucpe-vpp:~# vppctl show trace --- Start of thread 0 vpp_main --- Packet 1 00:03:50:074475: virtio-input virtio: hw_if_index 16 next-index 7 vring 0

Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-13 Thread Damjan Marion via Lists.Fd.Io
Good finding, this may help you: https://gerrit.fd.io/r/c/vpp/+/23396 — Damjan > On 12 Nov 2019, at 17:02, Dimitar Ivanov wrote: > > All this happen in case where tap interface is set to some bridge-domain ! If > i create tap interface and set mactime on it, > vnet_feature_start_device_inp

Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-12 Thread Dimitar Ivanov
All this happen in case where tap interface is set to some bridge-domain ! If i create tap interface and set mactime on it, vnet_feature_start_device_input_x1 is hit and next node is correct root@ucpe-vpp:~# vppctl show trace --- Start of thread 0 vpp_main --- Packe

Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-12 Thread Damjan Marion via Lists.Fd.Io
> On 12 Nov 2019, at 10:19, Dimitar Ivanov wrote: > > Sorry for missing post to vpp-dev. > So i'm using correct TAP interface. yes, Looks like a bug. Somebidy will need to debug it. If you have time and gdb skills, try to find out if vnet_feature_start_device_input_x1 in src/vnet/devices/virt

Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-12 Thread Dimitar Ivanov
Sorry for missing post to vpp-dev. So i'm using correct TAP interface. Here is some trace with activated mactime on tap0 vpp# show trace Limiting display to 50 packets. To display more specify max. --- Start of thread 0 vpp_main --- Packet 1 00:02:42:141421: virtio

Re: [vpp-dev] TAP interface rx strange behavior #vpp

2019-11-12 Thread Damjan Marion via Lists.Fd.Io
> On 12 Nov 2019, at 08:57, Dimitar Ivanov wrote: > > Hi All, > I need a help in investigation of one problem with TAP interface. I try to > develop plugin that inspects packets send from Host Linux via TAP interface > and take some actions on them. Scenario is like this: > Linux Host Tap -

[vpp-dev] TAP interface rx strange behavior #vpp

2019-11-11 Thread Dimitar Ivanov
Hi All, I need a help in investigation of one problem with TAP interface. I try to develop plugin that inspects packets send from Host Linux via TAP interface and take some actions on them. Scenario is like this: Linux Host Tap -->vpp tap0 --> other vpp interface. My node is set to be visited be