On 10/19/22 06:32, Huisong Li wrote:
Currently, by default, bond4 will first try to enable allmulti and
then enable promiscuous if fail to enable allmulti. On reception,
whether unicast and multicast packets should be dropped depends on
which mode has been enabled on the bonding interface.

In fact, if MAC address of packets in mac_addrs array of bonding
interface, these packets should not be dropped. However, now only
check the default MAC address, which will cause the packets with
MAC added by the '.mac_addr_add' are dropped.

Fixes: 68218b87c184 ("net/bonding: prefer allmulti to promiscuous for LACP")
Cc: sta...@dpdk.org

Signed-off-by: Huisong Li <lihuis...@huawei.com>

Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.


Reply via email to