netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] macvlan: Allow some packets to bypass broadcast queue
@ 2023-03-28  2:56 Herbert Xu
  2023-03-28  2:57 ` [PATCH 1/2] macvlan: Skip broadcast queue if multicast with single receiver Herbert Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Herbert Xu @ 2023-03-28  2:56 UTC (permalink / raw)
  To: netdev

This patch series allows some packets to bypass the broadcast
queue on receive.  Currently all multicast packets are queued
on receive and then processed in a work queue.  This is to avoid
an unbounded amount of work occurring in the receive path, as
one broadcast packet could easily translate into 4,000 packets.

However, for multicast packets with just one receiver (possible
for IPv6 ND), this introduces unnecessary latency as the packet
will go to exactly one device.

This series allows such multicast packets to be processed inline.
It also adds a toggle which lets the admin control what threshold
to set between queueing and not queueing.  A follow-up patch for
iproute will be posted.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-31  8:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28  2:56 [PATCH 0/2] macvlan: Allow some packets to bypass broadcast queue Herbert Xu
2023-03-28  2:57 ` [PATCH 1/2] macvlan: Skip broadcast queue if multicast with single receiver Herbert Xu
2023-03-28  2:57 ` [PATCH 2/2] macvlan: Add netlink attribute for broadcast cutoff Herbert Xu
2023-03-28  3:02 ` [PATCH iproute2-next] macvlan: Add bclim parameter Herbert Xu
2023-03-29 14:51   ` David Ahern
2023-03-30  3:07     ` [v2 PATCH " Herbert Xu
2023-03-30 16:01       ` David Ahern
2023-03-29  8:10 ` [PATCH 0/2] macvlan: Allow some packets to bypass broadcast queue patchwork-bot+netdevbpf
2023-03-29  8:45   ` [PATCH] macvlan: Fix mc_filter calculation Herbert Xu
2023-03-31  8:00     ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).