[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190625140412.7e8c84c4@bootlin.com>
Date: Tue, 25 Jun 2019 14:04:12 +0200
From: Maxime Chevallier <maxime.chevallier@...tlin.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Antoine Tenart <antoine.tenart@...tlin.com>,
thomas.petazzoni@...tlin.com, gregory.clement@...tlin.com,
nadavh@...vell.com, stefanc@...vell.com, mw@...ihalf.com,
Alan Winkowski <walan@...vell.com>
Subject: Re: [PATCH net v2] net: mvpp2: prs: Don't override the sign bit in
SRAM parser shift
Hello David,
On Thu, 20 Jun 2019 11:42:45 +0200
Maxime Chevallier <maxime.chevallier@...tlin.com> wrote:
>The Header Parser allows identifying various fields in the packet
>headers, used for various kind of filtering and classification
>steps.
>
>This is a re-entrant process, where the offset in the packet header
>depends on the previous lookup results. This offset is represented in
>the SRAM results of the TCAM, as a shift to be operated.
>
>This shift can be negative in some cases, such as in IPv6 parsing.
>
>This commit prevents overriding the sign bit when setting the shift
>value, which could cause instabilities when parsing IPv6 flows.
>
>Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
>Suggested-by: Alan Winkowski <walan@...vell.com>
>Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
>---
>V2 : Fix a typo in the commit log, reported by Sergei.
I see that this patch was set as "Accepted" on patchwork, but hasn't
made it to -net, I was wondering if this patch slipped through the
cracks :)
https://patchwork.ozlabs.org/patch/1119311/
Thanks,
Maxime
Powered by blists - more mailing lists