lkml.org 
[lkml]   [2018]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next v3 4/7] net: mscc: Add initial Ocelot switch support
    On Mon, May 14, 2018 at 10:04:57PM +0200, Alexandre Belloni wrote:
    > Add a driver for Microsemi Ocelot Ethernet switch support.
    >
    > This makes two modules:
    > mscc_ocelot_common handles all the common features that doesn't depend on
    > how the switch is integrated in the SoC. Currently, it handles offloading
    > bridging to the hardware. ocelot_io.c handles register accesses. This is
    > unfortunately needed because the register layout is packed and then depends
    > on the number of ports available on the switch. The register definition
    > files are automatically generated.
    >
    > ocelot_board handles the switch integration on the SoC and on the board.
    >
    > Frame injection and extraction to/from the CPU port is currently done using
    > register accesses which is quite slow. DMA is possible but the port is not
    > able to absorb the whole switch bandwidth.
    >
    > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

    Hi Alexandre

    There are a few Christmas trees which are not fully reversed. DaveM
    might want them putting right.

    But otherwise i think this is good enough to be merged.

    Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

    \
     
     \ /
      Last update: 2018-05-14 22:57    [W:4.076 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site