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 14, 2022 at 3:34 PM Petr Boltík <petr.bol...@gmail.com> wrote:

> 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                             11     up           4/0/0/0
> tap18                             19     up          1500/0/0/0
> tap26                             27     up          9216/0/0/0
>
> MTU 1500 pass to the control plane successfully and MTU inside netns is
> correct. Test script below, you may run it a few times to see an issue. I
> have run it inside netns "controlplane". Tested 21.10 and
> 22.02-rc0~347-g5dec92de6.
>
> Regards
> Petr
>
> #!/bin/bash
> vppctl lcp default netns controlplane
> for i in $(seq 1 30); do
>   vppctl create loopback interface instance $i
>   vppctl set interface mtu packet 1500 loop$i
>   vppctl lcp create loop$i host-if br$i
>   vppctl set interface state loop$i up
> done
>
>
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20720): https://lists.fd.io/g/vpp-dev/message/20720
Mute This Topic: https://lists.fd.io/mt/88421552/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