Hi Elias,

This is correct.
The patch you mentioned did improve logging: previously those error messages 
were silently discarded.
Here is what happened: support for multiple mac filtering per interface was 
added a few weeks back. To support that, when you add a bond with lacp, it is 
now trying to register the lacp multicast ethernet mac so that the underlying 
interfaces will receive lacp frames.
This is not supported in the rdma driver for now, which fallback to always 
accepting all broadcast/multicast ethernet frames.
Patches are welcome 😊 - however the only downsides are that you'll receive all 
broadcast/multicast ethernet frames regardless of what you're interested in and 
those error messages.

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Elias Rudberg
> Sent: mercredi 25 novembre 2020 16:01
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] After recent "interface: improve logging" commit,
> "Secondary MAC Addresses not supported" message appears, does this mean
> something is wrong?
> 
> Hello VPP experts,
> 
> Using the current master branch, we now get log messages like this
> (shown by journalctl in red color):
> 
> Nov 25 15:10:29 vnet[...]: interface: hw_add_del_mac_address:
> vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not
> supported for interface index 0
> Nov 25 15:10:29 vnet[...]: interface: hw_add_del_mac_address:
> vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not
> supported for interface index 0
> 
> This seems to have started with the commit d1bd5d26 "interface: improve
> logging" on November 23. Even though the commit message says it was
> only a logging change, I still wnder if the message is correct and if
> so, if it means that something is wrong with the way we have configured
> VPP.
> 
> Here is an example of VPP commands leading to those log messages:
> 
> create bond mode lacp load-balance l23
> create int rdma host-if enp101s0f1 name i1
> create int rdma host-if enp179s0f1 name i2
> bond add BondEthernet0 i1
> bond add BondEthernet0 i2
> create sub-interfaces BondEthernet0 1
> create sub-interfaces BondEthernet0 2
> set int ip address BondEthernet0.1 10.0.0.1/30
> 
> The "set int ip address" command there triggers two such "Secondary MAC
> Addresses not supported" messages -- what does that mean in case of the
> config above?
> Should we do something differently to avoid the error messages?
> 
> Best regards,
> Elias
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18136): https://lists.fd.io/g/vpp-dev/message/18136
Mute This Topic: https://lists.fd.io/mt/78500983/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