netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: Eric Dumazet <edumazet@google.com>,
	"Steinar H. Gunderson" <steinar+kernel@gunderson.no>
Cc: "Gaube, Marvin (THSE-TL1)" <Marvin.Gaube@tesat.de>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Woojung Huh <woojung.huh@microchip.com>,
	Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: PROBLEM: (DSA/Microchip): 802.1Q-Header lost on KSZ9477-DSA ingress without bridge
Date: Wed, 5 Aug 2020 01:44:30 +0300	[thread overview]
Message-ID: <20200804224430.qt4zc2vihz7zeks6@skbuf> (raw)
In-Reply-To: <20200804223952.je4yacy57vt5qjwk@skbuf>

On Wed, Aug 05, 2020 at 01:39:52AM +0300, Vladimir Oltean wrote:
> On Tue, Aug 04, 2020 at 03:29:05PM -0700, Eric Dumazet wrote:
> > On Tue, Aug 4, 2020 at 2:24 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > >
> > > On Tue, Aug 04, 2020 at 01:36:56PM -0700, Eric Dumazet wrote:
> > > > On Tue, Aug 4, 2020 at 12:43 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > > >
> > > > > On Tue, Aug 04, 2020 at 12:40:24PM -0700, Eric Dumazet wrote:
> > > > > > On Tue, Aug 4, 2020 at 12:29 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > > > > >
> > > > > > > On Tue, Aug 04, 2020 at 07:54:18AM -0700, Eric Dumazet wrote:
> > > > > > > >
> > > > > > > > My 2013 commit was a bug fix, and hinted that in the future (eg in
> > > > > > > > net-next tree) the stop-the-bleed could be refined.
> > > > > > > >
> > > > > > > > +               /* Note: we might in the future use prio bits
> > > > > > > > +                * and set skb->priority like in vlan_do_receive()
> > > > > > > > +                * For the time being, just ignore Priority Code Point
> > > > > > > > +                */
> > > > > > > > +               skb->vlan_tci = 0;
> > > > > > > >
> > > > > > > > If you believe this can be done, this is great.
> > > > > > >
> > > > > > > Do you have a reproducer for that bug? I am willing to spend some time
> > > > > > > understand what is going on. This has nothing to do with priority. You
> > > > > > > vaguely described a problem with 802.1p (VLAN 0) and used that as an
> > > > > > > excuse to clear the entire vlan hwaccel tag regardless of VLAN ID. I'm
> > > > > > > curious because we also now have commit 36b2f61a42c2 ("net: handle
> > > > > > > 802.1P vlan 0 packets properly") in that general area, and I simply want
> > > > > > > to know if your patch still serves a valid purpose or not.
> > > > > > >
> > > > > >
> > > > > > I do not have a repro, the patch seemed to help at that time,
> > > > > > according to the reporter.
> > > > >
> > > > > Do you mind if I respectfully revert then? It's clear that the patch has
> > > > > loopholes already (it clears the vlan if it's hwaccel, but leaves it
> > > > > alone if it isn't) and that the proper solution should be different
> > > > > anyway.
> > > >
> > > > Clearly the situation before the patch was not good, it seems well
> > > > explained in the changelog.
> > > >
> > > > If you want to revert, you will need to convince the bug has been
> > > > solved in another way.
> > > >
> > > > So it seems you might have to repro the initial problem.
> > >
> > > What bug? What repro? You just said you don't have any.
> > 
> > Ask Steinar ?
> > 
> 
> Hi Steinar, do you have a reproducer for the bug that Eric fixed in
> commit d4b812dea4a2 ("vlan: mask vlan prio bits")?
> 
> Thanks,
> -Vladimir

The Google email address from the original report bounces back. Adding
another address found by searching for your name on netdev.

  reply	other threads:[~2020-08-04 22:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  6:05 PROBLEM: (DSA/Microchip): 802.1Q-Header lost on KSZ9477-DSA ingress without bridge Gaube, Marvin (THSE-TL1)
2020-07-29 13:48 ` Florian Fainelli
2020-07-29 14:49   ` AW: " Gaube, Marvin (THSE-TL1)
2020-07-29 15:02     ` Florian Fainelli
2020-07-30  9:34       ` AW: " Gaube, Marvin (THSE-TL1)
2020-08-04 14:14       ` Gaube, Marvin (THSE-TL1)
2020-08-04 14:27         ` Vladimir Oltean
2020-08-04 14:54           ` Eric Dumazet
2020-08-04 19:29             ` Vladimir Oltean
2020-08-04 19:40               ` Eric Dumazet
2020-08-04 19:43                 ` Vladimir Oltean
2020-08-04 20:36                   ` Eric Dumazet
2020-08-04 21:24                     ` Vladimir Oltean
2020-08-04 22:29                       ` Eric Dumazet
2020-08-04 22:39                         ` Vladimir Oltean
2020-08-04 22:44                           ` Vladimir Oltean [this message]
2020-08-04 23:02                             ` Steinar H. Gunderson
2020-08-04 15:51         ` AW: AW: " Florian Fainelli
2020-08-04 19:54           ` Vladimir Oltean
2020-08-04 20:20             ` Florian Fainelli
2020-08-05  5:45               ` AW: " Gaube, Marvin (THSE-TL1)
2020-09-15  0:02                 ` Vladimir Oltean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200804224430.qt4zc2vihz7zeks6@skbuf \
    --to=olteanv@gmail.com \
    --cc=Marvin.Gaube@tesat.de \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=steinar+kernel@gunderson.no \
    --cc=woojung.huh@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).