Re: [PATCH net-next v3] macvlan: Support for high multicast packet rate

2020-12-02 Thread Jakub Kicinski
On Wed, 2 Dec 2020 12:28:47 +0100 Thomas Karlsson wrote: > >> + if (vlan->bc_queue_len_requested > max_bc_queue_len_requested) > >> + max_bc_queue_len_requested = > >> vlan->bc_queue_len_requested; > >> + } > >> + port->bc_queue_len_used = max_bc_queue_len_requested; >

Re: [PATCH net-next v3] macvlan: Support for high multicast packet rate

2020-12-02 Thread Thomas Karlsson
On 2020-12-01 20:11, Jakub Kicinski wrote: > On Mon, 30 Nov 2020 15:00:43 +0100 Thomas Karlsson wrote: >> Background: >> Broadcast and multicast packages are enqueued for later processing. >> This queue was previously hardcoded to 1000. >> >> This proved insufficient for handling very high packet r

Re: [PATCH net-next v3] macvlan: Support for high multicast packet rate

2020-12-01 Thread Jakub Kicinski
On Mon, 30 Nov 2020 15:00:43 +0100 Thomas Karlsson wrote: > Background: > Broadcast and multicast packages are enqueued for later processing. > This queue was previously hardcoded to 1000. > > This proved insufficient for handling very high packet rates. > This resulted in packet drops for multica

[PATCH net-next v3] macvlan: Support for high multicast packet rate

2020-11-30 Thread Thomas Karlsson
Background: Broadcast and multicast packages are enqueued for later processing. This queue was previously hardcoded to 1000. This proved insufficient for handling very high packet rates. This resulted in packet drops for multicast. While at the same time unicast worked fine. The change: This patc