On 12/14/20 3:42 AM, Thomas Karlsson wrote: > This patch allows the user to set and retrieve the > IFLA_MACVLAN_BC_QUEUE_LEN parameter via the bcqueuelen > command line argument > > This parameter controls the requested size of the queue for > broadcast and multicast packages in the macvlan driver. > > If not specified, the driver default (1000) will be used. > > Note: The request is per macvlan but the actually used queue > length per port is the maximum of any request to any macvlan > connected to the same port. > > For this reason, the used queue length IFLA_MACVLAN_BC_QUEUE_LEN_USED > is also retrieved and displayed in order to aid in the understanding > of the setting. However, it can of course not be directly set. > > Signed-off-by: Thomas Karlsson <[email protected]> > --- > > Note: This patch controls the parameter added in net-next > with commit d4bff72c8401e6f56194ecf455db70ebc22929e2 > > v2 Rebased on origin/main > v1 Initial version > > ip/iplink_macvlan.c | 33 +++++++++++++++++++++++++++++++-- > man/man8/ip-link.8.in | 33 +++++++++++++++++++++++++++++++++ > 2 files changed, 64 insertions(+), 2 deletions(-) >
applied to iproute2-next.
