[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210126093533.441338-1-razor@blackwall.org>
Date: Tue, 26 Jan 2021 11:35:31 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: netdev@...r.kernel.org
Cc: roopa@...dia.com, bridge@...ts.linux-foundation.org,
kuba@...nel.org, davem@...emloft.net,
Nikolay Aleksandrov <nikolay@...dia.com>
Subject: [PATCH net-next v2 0/2] net: bridge: multicast: per-port EHT hosts limit
From: Nikolay Aleksandrov <nikolay@...dia.com>
Hi,
This set adds a simple configurable per-port EHT tracked hosts limit.
Patch 01 adds a default limit of 512 tracked hosts per-port, since the EHT
changes are still only in net-next that shouldn't be a problem. Then
patch 02 adds the ability to configure and retrieve the hosts limit
and to retrieve the current number of tracked hosts per port.
Let's be on the safe side and limit the number of tracked hosts by
default while allowing the user to increase that limit if needed.
v2: patch 2: move br_multicast_eht_set_hosts_limit() to br_multicast_eht.c,
no functional change
Thanks,
Nik
Nikolay Aleksandrov (2):
net: bridge: multicast: add per-port EHT hosts limit
net: bridge: multicast: make tracked EHT hosts limit configurable
include/uapi/linux/if_link.h | 2 ++
net/bridge/br_multicast.c | 1 +
net/bridge/br_multicast_eht.c | 22 ++++++++++++++++++++++
net/bridge/br_netlink.c | 19 ++++++++++++++++++-
net/bridge/br_private.h | 2 ++
net/bridge/br_private_mcast_eht.h | 28 ++++++++++++++++++++++++++++
net/bridge/br_sysfs_if.c | 26 ++++++++++++++++++++++++++
net/core/rtnetlink.c | 2 +-
8 files changed, 100 insertions(+), 2 deletions(-)
--
2.29.2
Powered by blists - more mailing lists