mbox series

[net-next,0/2] net: bridge: multicast: add mdb and host context support

Message ID 20210721140127.773194-1-razor@blackwall.org (mailing list archive)
Headers show
Series net: bridge: multicast: add mdb and host context support | expand

Message

Nikolay Aleksandrov July 21, 2021, 2:01 p.m. UTC
From: Nikolay Aleksandrov <nikolay@nvidia.com>

Hi,
This is a minor context improvement which chooses the proper multicast
context when adding user mdb entries or host-joined entries (pointing to
the bridge device). Patch 01 adds a helper which chooses the proper
context when user-space is adding an mdb entry, note that it requires
the vlan to be configured on at least 1 device (port or bridge) so it
would have a multicast context. Patch 02 changes br_multicast_host_join
to take a bridge multicast context parameter which is passed down from
the respective functions, currently it is used for the timer config
value only. This set is in preparation for adding all multicast options
for vlans.

Thanks,
 Nik


Nikolay Aleksandrov (2):
  net: bridge: multicast: add mdb context support
  net: bridge: multicast: add context support for host-joined groups

 net/bridge/br_mdb.c       | 45 +++++++++++++++++++++++++++++++++++----
 net/bridge/br_multicast.c |  8 +++----
 net/bridge/br_private.h   |  3 ++-
 3 files changed, 47 insertions(+), 9 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 21, 2021, 9:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 21 Jul 2021 17:01:25 +0300 you wrote:
> From: Nikolay Aleksandrov <nikolay@nvidia.com>
> 
> Hi,
> This is a minor context improvement which chooses the proper multicast
> context when adding user mdb entries or host-joined entries (pointing to
> the bridge device). Patch 01 adds a helper which chooses the proper
> context when user-space is adding an mdb entry, note that it requires
> the vlan to be configured on at least 1 device (port or bridge) so it
> would have a multicast context. Patch 02 changes br_multicast_host_join
> to take a bridge multicast context parameter which is passed down from
> the respective functions, currently it is used for the timer config
> value only. This set is in preparation for adding all multicast options
> for vlans.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: bridge: multicast: add mdb context support
    https://git.kernel.org/netdev/net-next/c/6567cb438a51
  - [net-next,2/2] net: bridge: multicast: add context support for host-joined groups
    https://git.kernel.org/netdev/net-next/c/58d913a32664

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