[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200430.204205.1991520353622189464.davem@davemloft.net>
Date: Thu, 30 Apr 2020 20:42:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...sch.org
Cc: netdev@...r.kernel.org, jiri@...lanox.com, mlxsw@...lanox.com,
idosch@...lanox.com
Subject: Re: [PATCH net] mlxsw: spectrum_acl_tcam: Position vchunk in a
vregion list properly
From: Ido Schimmel <idosch@...sch.org>
Date: Mon, 27 Apr 2020 18:05:47 +0300
> From: Jiri Pirko <jiri@...lanox.com>
>
> Vregion helpers to get min and max priority depend on the correct
> ordering of vchunks in the vregion list. However, the current code
> always adds new chunk to the end of the list, no matter what the
> priority is. Fix this by finding the correct place in the list and put
> vchunk there.
>
> Fixes: 22a677661f56 ("mlxsw: spectrum: Introduce ACL core with simple TCAM implementation")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists