Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-17 Thread Petr Boltík
Thank you, Your idea is the same as mine, all commands are executed for if_index 0. I have already tried to go deeper, but this is out of my knowledge. Regards Petr po 17. 1. 2022 v 14:50 odesílatel Pim van Pelt napsal: > Hoi Petr, others, > > Petr, in case you were interested to take a look

Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-17 Thread Pim van Pelt
Hoi Petr, others, Petr, in case you were interested to take a look -- I became a bit less lazy and started VPP in a debugger, and added a breakpoint in the vnet_hw_interface_add_del_mac_address function. DBGvpp# create sub HundredGigabitEthernet15/0/0 10 HundredGigabitEthernet15/0/0.10

Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-17 Thread Pim van Pelt
Hoi, I have seen that message, but it is not related to the Linux CP plugin, and it seems benign -- that is to say, Linux CP and VPP work just fine even though the error is emitted. Without Linux CP enabled, the same message appears when adding an IP address to a sub-int. I didn't look in to it

Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-17 Thread Petr Boltík
Hello, did you notice this error message from systemctl? Message from systemctl status vpp-dataplane: vnet[2526]: interface: hw_add_del_mac_address: vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not supported for interface index 0 Jan 17 03:16:05 stredni vnet[2526]: interface:

Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-14 Thread Petr Boltík
Hi, Yes, I have tested the latest code that includes https://gerrit.fd.io/r/c/vpp/+/33709. Test: "lcp lcp-sync on" => everything work fine "lcp lcp-sync off" => issue appears Here is a video with an example https://youtu.be/wwyXyVilvOk Regards Petr pá 14. 1. 2022 v 16:59 odesílatel Pim van Pelt

Re: [vpp-dev] linux-cp TAP MTU show issue

2022-01-14 Thread Pim van Pelt
Hoi Petr, We merged a relevant VPP -> Linux interface sync change in https://gerrit.fd.io/r/c/vpp/+/33709 just this week. The code that does this sync is in lcp_interface_sync.c:100 and lcp_interface.c:1004. Does your build include that code, and did you issue "lcp lcp-sync on" ? On Fri, Jan

[vpp-dev] linux-cp TAP MTU show issue

2022-01-14 Thread Petr Boltík
Hello, I have found a cosmetic issue with a linux-cp TAP device (tested both plugins - original and patched linux-cp 31122 ). If you try to add multiple LCP TAP interfaces, sometimes there is bug in "vppctl show interface" output. MTU at the TAP is randomly shown incorrectly like: tap10