[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200616.134706.855421482127630808.davem@davemloft.net>
Date: Tue, 16 Jun 2020 13:47:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...sch.org
Cc: netdev@...r.kernel.org, kuba@...nel.org, jiri@...lanox.com,
mlxsw@...lanox.com, idosch@...lanox.com
Subject: Re: [PATCH net] mlxsw: spectrum: Adjust headroom buffers for 8x
ports
From: Ido Schimmel <idosch@...sch.org>
Date: Tue, 16 Jun 2020 10:14:58 +0300
> From: Ido Schimmel <idosch@...lanox.com>
>
> The port's headroom buffers are used to store packets while they
> traverse the device's pipeline and also to store packets that are egress
> mirrored.
>
> On Spectrum-3, ports with eight lanes use two headroom buffers between
> which the configured headroom size is split.
>
> In order to prevent packet loss, multiply the calculated headroom size
> by two for 8x ports.
>
> Fixes: da382875c616 ("mlxsw: spectrum: Extend to support Spectrum-3 ASIC")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists