Thread (5 messages) 5 messages, 4 authors, 4d ago

Re: [PATCH net] bnge: skip dev_addr when building the VNIC unicast list

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-10-13 10:00:06
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni [off-list ref]:

On Tue,  6 Oct 2026 19:49:28 +0530 you wrote:
The default VNIC programs the device's MAC as L2 filter 0 in
bnge_init_chip() via bnge_hwrm_set_vnic_filter(bn, 0, 0, dev_addr).
bnge_cfg_rx_mode() then walks dev->uc and programs each unicast
address as a further L2 filter, without excluding dev_addr.

Skip dev_addr when building uc_list, since it is already installed as
filter 0. As dev_addr now takes neither a uc_list slot nor an
l2_filters[] slot, count only the non-dev_addr entries for the
uc_list overflow check too, otherwise an input such as
{dev_addr, A, B, C} would needlessly fall back to promiscuous mode
even though A, B and C fit in exact-match filters.
bnge_uc_list_updated() applies the same skip and count so the
change detection stays consistent and does not loop.

[...]
Here is the summary with links:
  - [net] bnge: skip dev_addr when building the VNIC unicast list
    https://git.kernel.org/netdev/net-next/c/0b3fc7fe6f3f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help