lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210310221237.nftr4d6kwfrhi34z@skbuf>
Date:   Thu, 11 Mar 2021 00:12:37 +0200
From:   Ioana Ciornei <ciorneiioana@...il.com>
To:     Greg KH <gregkh@...uxfoundation.org>
Cc:     Ioana Ciornei <ciorneiioana@...il.com>, davem@...emloft.net,
        kuba@...nel.org, andrew@...n.ch, f.fainelli@...il.com,
        olteanv@...il.com, jiri@...nulli.us, ruxandra.radulescu@....com,
        netdev@...r.kernel.org, Ioana Ciornei <ioana.ciornei@....com>
Subject: Re: [PATCH net-next 00/15] dpaa2-switch: CPU terminated traffic and
 move out of staging

On Wed, Mar 10, 2021 at 03:12:57PM +0100, Greg KH wrote:
> On Wed, Mar 10, 2021 at 03:47:44PM +0200, Ioana Ciornei wrote:
> > On Wed, Mar 10, 2021 at 01:44:46PM +0100, Greg KH wrote:
> > > On Wed, Mar 10, 2021 at 02:14:37PM +0200, Ioana Ciornei wrote:
> > > > From: Ioana Ciornei <ioana.ciornei@....com>
> > > > 
> > > > This patch set adds support for Rx/Tx capabilities on DPAA2 switch port
> > > > interfaces as well as fixing up some major blunders in how we take care
> > > > of the switching domains. The last patch actually moves the driver out
> > > > of staging now that the minimum requirements are met.
> > > > 
> > > > I am sending this directly towards the net-next tree so that I can use
> > > > the rest of the development cycle adding new features on top of the
> > > > current driver without worrying about merge conflicts between the
> > > > staging and net-next tree.
> > > > 
> > > > The control interface is comprised of 3 queues in total: Rx, Rx error
> > > > and Tx confirmation. In this patch set we only enable Rx and Tx conf.
> > > > All switch ports share the same queues when frames are redirected to the
> > > > CPU.  Information regarding the ingress switch port is passed through
> > > > frame metadata - the flow context field of the descriptor.
> > > > 
> > > > NAPI instances are also shared between switch net_devices and are
> > > > enabled when at least on one of the switch ports .dev_open() was called
> > > > and disabled when no switch port is still up.
> > > > 
> > > > Since the last version of this feature was submitted to the list, I
> > > > reworked how the switching and flooding domains are taken care of by the
> > > > driver, thus the switch is now able to also add the control port (the
> > > > queues that the CPU can dequeue from) into the flooding domains of a
> > > > port (broadcast, unknown unicast etc). With this, we are able to receive
> > > > and sent traffic from the switch interfaces.
> > > > 
> > > > Also, the capability to properly partition the DPSW object into multiple
> > > > switching domains was added so that when not under a bridge, the ports
> > > > are not actually capable to switch between them. This is possible by
> > > > adding a private FDB table per switch interface.  When multiple switch
> > > > interfaces are under the same bridge, they will all use the same FDB
> > > > table.
> > > > 
> > > > Another thing that is fixed in this patch set is how the driver handles
> > > > VLAN awareness. The DPAA2 switch is not capable to run as VLAN unaware
> > > > but this was not reflected in how the driver responded to requests to
> > > > change the VLAN awareness. In the last patch, this is fixed by
> > > > describing the switch interfaces as Rx VLAN filtering on [fixed] and
> > > > declining any request to join a VLAN unaware bridge.
> > > 
> > > I'll take the first 14 patches now, and then you will have a "clean"
> > > place to ask for the movement of this out of staging.
> > > 
> > 
> > I was about to respond but it seems that you already applied them into
> > the staging tree. By the way, I was expecting a bit of review from the
> > netdev community since these changes are mainly to get the driver in a
> > proper state for the move.
> 
> They are only in my "testing" branch, I can easily drop them right now
> if you want me to.

Well, it seems that I added some checks at the last minute, forgot to
compile-test patch by patch and the checks were added too early in the
series therefore it fails to build now on patches 10 and 11.

Could you please just drop this so that that I can respin them with that
addressed as well as any other review feedback?

Ioana

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ