07 Dec, 2017

1 commit

  • Existing MC driver framework is based on MC-9.x.x flib. This patch
    migrates MC obj (DPBP, DPNI, DPRC, DPMAC etc) to use latest MC flib
    which is MC-10.3.0.

    Changes introduced due to migration:
    1. To get OBJ token, pair of create and open API replaces create APIs
    2. Pair of close and destroy APIs replaces destroy APIs
    3. For version read, get_version APIs replaces get_attributes APIs
    4. dpni_get/reset_statistics APIs replaces dpni_get/set_counter APIs
    5. Simplifies struct dpni_cfg and removes dpni_extended_cfg struct
    6. Single API dpni_get_buffer_layout/set_buffer_layout replaces
    dpni_get_rx/set_rx, tx related, tx_conf_buffer_layout related APIs.
    New API takes a queue type as an argument.
    7. Similarly dpni_get_queue/set_queue replaces
    dpni_get_rx_flow/set_rx_flow , tx_flow related, tx_conf related
    APIs

    Signed-off-by: Yogesh Gaur
    Signed-off-by: Priyanka Jain
    Reviewed-by: York Sun

    Yogesh Gaur
     

11 Sep, 2017

1 commit


02 Jun, 2017

1 commit

  • DPAA2 platforms boot the Management Complex based on the u-boot env
    variable "mcinitcmd". Instead of doing this step on each platform
    individually, define a single mc_env_boot function in the MC driver,
    since it's semantically tied to it.

    Call the function in a per-board reset_phy hook, as it gets called at a
    later moment, when all board PHY devices have been initialized.

    Signed-off-by: Bogdan Purcareata
    Signed-off-by: Heinz Wrobel
    Reviewed-by: York Sun

    Bogdan Purcareata
     

29 Mar, 2017

1 commit


28 Jan, 2016

1 commit


01 Dec, 2015

6 commits


12 Sep, 2015

1 commit


04 Aug, 2015

1 commit


21 Jul, 2015

2 commits

  • Stream IDs on ls2085a devices are not hardwired and are
    programmed by sw. There are a limited number of stream IDs
    available, and the partitioning of them is scenario dependent.
    This header defines the partitioning between legacy, PCI,
    and DPAA2 devices.

    Signed-off-by: Stuart Yoder
    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Stuart Yoder
     
  • Update flibs changes to mc-0.6.0.1 for dpmang, dprc, dpni and dpio objects
    Also rename qbman_portal_ce/ci_paddr to qbman_portal_ce/ci_offset in
    dpio_attr. These are now offsets from the SoC QBMan portals base.

    Signed-off-by: J. German Rivera
    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     

23 Apr, 2015

2 commits

  • Wire rate IO Processor (WRIOP) provide support of receive and transmit
    ethernet frames from the ethernet MAC. Here Each WRIOP block supports
    upto 64 DPMACs.

    Create a house keeping data structure to support upto 16 DPMACs and
    store external phy related information.

    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: York Sun

    Prabhakar Kushwaha
     
  • LDPAA Ethernet driver is a freescale's new ethernet driver based on
    Layerscape architecture.

    Every ethernet driver controls on DPNI object. Where all DPNIs share
    one common DPBP and DPIO object to support Rx and Tx flows.

    Signed-off-by: Prabhakar Kushwaha
    CC: Cristian Sovaiala
    CC: Bogdan Hamciuc
    CC: J. German Rivera
    [York Sun: s/NetReceive/net_process_received_packet]
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     

22 Apr, 2015

2 commits

  • Freescale's Layerscape Management Complex (MC) provide support various
    objects like DPRC, DPNI, DPBP and DPIO.
    Where:
    DPRC: Place holdes for other MC objectes like DPNI, DPBP, DPIO
    DPBP: Management of buffer pool
    DPIO: Used for used to QBMan portal
    DPNI: Represents standard network interface

    These objects are used for DPAA ethernet drivers.

    Signed-off-by: J. German Rivera
    Signed-off-by: Lijun Pan
    Signed-off-by: Stuart Yoder
    Signed-off-by: Geoff Thorpe
    Signed-off-by: Haiying Wang
    Signed-off-by: Cristian Sovaiala
    Signed-off-by: pankaj chauhan
    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     
  • The Debug Server driver is responsible for loading the Debug
    server FW on the Service Processor (Cortex-A5 core) on LS2085A like
    SoCs and then polling for the successful initialization of the same.
    TOP MEM HIDE is adjusted to ensure the space required by Debug Server
    FW is accounted for. MC uses the DDR area which is calculated as:

    MC DDR region start = Top of DDR - area reserved by Debug Server FW

    Signed-off-by: Bhupesh Sharma
    Reviewed-by: York Sun

    Bhupesh Sharma
     

25 Feb, 2015

1 commit

  • Upgrade Manage Complex (MC) flib API to 0.5.2. Rename directory
    fsl_mc to fsl-mc. Change the fsl-mc node in Linux device tree
    from "fsl,dprcr" to "fsl-mc". Print MC version info when
    appropriate.

    Signed-off-by: J. German Rivera
    Signed-off-by: Lijun Pan
    Reviewed-by: York Sun

    J. German Rivera