[U-Boot] [PATCH][v3] driver: net: fsl-mc: flib changes for MC 10.3.0

York Sun york.sun at nxp.com
Fri Dec 8 16:46:33 UTC 2017


On 11/14/2017 10:29 PM, Yogesh Gaur wrote:
> 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 <yogeshnarayan.gaur at nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
> ---
> Changes in v2:
>  Updated flib version check to make compatible with
>  future MC flib version.
> 
> Changes in v3:
>  Updated copyright years.

Applied to fsl-qoriq master. Thanks.

York



More information about the U-Boot mailing list