[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190612110620.5f1653bc@cakuba.netronome.com>
Date: Wed, 12 Jun 2019 11:06:20 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net, Pablo Neira Ayuso <pablo@...filter.org>,
Florian Fainelli <f.fainelli@...il.com>,
Jiri Pirko <jiri@...lanox.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Antoine Tenart <antoine.tenart@...tlin.com>,
thomas.petazzoni@...tlin.com,
Michał Mirosław <mirq-linux@...e.qmqm.pl>,
Toshiaki Makita <toshiaki.makita1@...il.com>
Subject: Re: [PATCH net v2] net: ethtool: Allow matching on vlan DEI bit
On Wed, 12 Jun 2019 17:18:38 +0200, Maxime Chevallier wrote:
> Using ethtool, users can specify a classification action matching on the
> full vlan tag, which includes the DEI bit (also previously called CFI).
>
> However, when converting the ethool_flow_spec to a flow_rule, we use
> dissector keys to represent the matching patterns.
>
> Since the vlan dissector key doesn't include the DEI bit, this
> information was silently discarded when translating the ethtool
> flow spec in to a flow_rule.
>
> This commit adds the DEI bit into the vlan dissector key, and allows
> propagating the information to the driver when parsing the ethtool flow
> spec.
>
> Fixes: eca4205f9ec3 ("ethtool: add ethtool_rx_flow_spec to flow_rule structure translator")
> Reported-by: Michał Mirosław <mirq-linux@...e.qmqm.pl>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
LGTM, thanks!
Powered by blists - more mailing lists