[vpp-dev] frp_preference and frp_weight size #vnet

2020-04-15 Thread Dimitar Ivanov
Hi, I'm working with vers.19.08 and see something that cannot understand. Currently in FIB route path definition preference and weight are u8. In same time preference(metric) in Linux kernel is 32 bit value. My target is to inject routes in VPP and to keep same parameters like in Linux kernel. S

Re: [vpp-dev] Type mismatch in classify session #vnet

2019-11-26 Thread Dimitar Ivanov
n could be combined. Last_heard (time of last > classifier hit) seems completely unused. It’s not a bad idea, but folks > don’t use it. > > > > FWIW... Dave > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Dimitar > Ivanov > *Sent:* Tuesday, November 26, 2

[vpp-dev] Type mismatch in classify session #vnet

2019-11-26 Thread Dimitar Ivanov
Hi, To function vnet_classify_add_del_session we can pass parameter metadata. I see that depending on some actions metadata is predefined. But when action is CLASSIFY_ACTION_SET_METADATA , passed metadata is stored in new session entry. I plan to use this entry for my purposes. But why to functi

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-12 Thread Dimitar Ivanov
266635: drop l2-flood: L2 replication complete Display of features of tap0 still shows that mactime is on device-input On Tue, Nov 12, 2019 at 11:31 AM Damjan Marion wrote: > > > > On 12 Nov 2019, at 10:19, Dimitar Ivanov wrote: > > > > Sorry for missing post to v

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

2019-11-12 Thread Dimitar Ivanov
On Tue, Nov 12, 2019 at 10:25 AM Damjan Marion wrote: > > > > > 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 H

[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