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: hw_add_del_mac_address:
vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not
supported for interface index 0

Vpp run in separated netns. Latest vpp v22.02-rc0~503-gf8dd9d8af. Message
is related to ip address configuration on vlan subinterface.

Config below...

Regards Petr

#!/bin/sh
vppctl lcp default netns controlplane
vppctl lcp lcp-sync on
vppctl lcp lcp-auto-subint on
vppctl set interface mtu packet 1500 enp3s0
vppctl lcp create enp3s0 host-if enp3s0
vppctl set interface state enp3s0 up
vppctl create sub enp3s0 10
vppctl set interface ip address enp3s0.10 192.168.18.1/24
vppctl set interface state enp3s0.10 up


pá 14. 1. 2022 v 17:42 odesílatel Petr Boltík via lists.fd.io <petr.boltik=
gmail....@lists.fd.io> napsal:

> 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 <p...@ipng.nl> napsal:
>
>> 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 (#20729): https://lists.fd.io/g/vpp-dev/message/20729
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