, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPBP stands for Data Path Buffer Pool - you can read more about the
object in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Reviewed-by: Laurentiu Tudor <lau
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPBP stands for Data Path Buffer Pool - you can read more about the
object in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan Purcareata
Reviewed-by: Laurentiu Tudor
---
v1 -> v2:
- properly refac
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPCON stands for Data Path Concentrator - an interface between DPIO
(Data Path IO) and its users (e.g. dpaa2-eth). You can read more about
DPIO in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPCON stands for Data Path Concentrator - an interface between DPIO
(Data Path IO) and its users (e.g. dpaa2-eth). You can read more about
DPIO in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan
(Data Path Buffer Pool) and DPCON
(Data Path Concentrator).
The patches handle moving out the mentioned objects, one at a time.
v1 -> v2:
- previous cleanup patch already applied, so removed from patchset
- properly refactor #include line (Laurentiu)
Bogdan Purcareata (2):
staging: fsl-mc:
(Data Path Buffer Pool) and DPCON
(Data Path Concentrator).
The patches handle moving out the mentioned objects, one at a time.
v1 -> v2:
- previous cleanup patch already applied, so removed from patchset
- properly refactor #include line (Laurentiu)
Bogdan Purcareata (2):
staging: fsl-mc:
> -Original Message-
> From: Laurentiu Tudor
> Sent: Friday, March 02, 2018 11:18 AM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>; gre...@linuxfoundation.org;
> Ruxandra Ioana Ciocoi Radulescu <ruxandra.radule...@nxp.com>
> Cc: stuyo...@gmail.
> -Original Message-
> From: Laurentiu Tudor
> Sent: Friday, March 02, 2018 11:18 AM
> To: Bogdan Purcareata ; gre...@linuxfoundation.org;
> Ruxandra Ioana Ciocoi Radulescu
> Cc: stuyo...@gmail.com; Ioana Ciornei ; Nipun Gupta
> ; Roy Pledge ; Horia Geantă
> ; de
.
Patch 1 removes dead code from the involved source files.
Patches 2-3 handle moving out the mentioned objects, one at a time.
Bogdan Purcareata (3):
staging: fsl-mc: Cleanup dpbp and dpcon API
staging: fsl-mc: Move DPBP out of staging
staging: fsl-mc: Move DPCON out of staging
drivers/
.
Patch 1 removes dead code from the involved source files.
Patches 2-3 handle moving out the mentioned objects, one at a time.
Bogdan Purcareata (3):
staging: fsl-mc: Cleanup dpbp and dpcon API
staging: fsl-mc: Move DPBP out of staging
staging: fsl-mc: Move DPCON out of staging
drivers/
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPCON stands for Data Path Concentrator - an interface between DPIO
(Data Path IO) and its users (e.g. dpaa2-eth). You can read more about
DPIO in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPCON stands for Data Path Concentrator - an interface between DPIO
(Data Path IO) and its users (e.g. dpaa2-eth). You can read more about
DPIO in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPBP stands for Data Path Buffer Pool - you can read more about the
object in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/bus/fsl-mc/Ma
, exposing the public
API
Update references in the dpaa2-eth staging driver.
DPBP stands for Data Path Buffer Pool - you can read more about the
object in Documentation/networking/dpaa2/overview.rst
Signed-off-by: Bogdan Purcareata
---
drivers/bus/fsl-mc/Makefile | 1
Some functions and associated structures are not used by current code,
so remove them.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpbp-cmd.h | 10 --
drivers/staging/fsl-mc/bus/dpbp.c | 67 ---
d
Some functions and associated structures are not used by current code,
so remove them.
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-mc/bus/dpbp-cmd.h | 10 --
drivers/staging/fsl-mc/bus/dpbp.c | 67 ---
drivers/staging/fsl-mc/include/dpbp.h
> -Original Message-
> From: Horia Geantă
> Sent: Tuesday, February 06, 2018 9:18 AM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>; gre...@linuxfoundation.org;
> Laurentiu Tudor <laurentiu.tu...@nxp.com>; Ruxandra Ioana Ciocoi Radulescu
> <ruxand
> -Original Message-
> From: Horia Geantă
> Sent: Tuesday, February 06, 2018 9:18 AM
> To: Bogdan Purcareata ; gre...@linuxfoundation.org;
> Laurentiu Tudor ; Ruxandra Ioana Ciocoi Radulescu
>
> Cc: stuyo...@gmail.com; a...@arndb.de; r...@kernel.org; Razvan Stefane
pdates]
Signed-off-by: Laurentiu Tudor <laurentiu.tu...@nxp.com>
[rebased, split irqchip to separate patch]
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zy
-by: Laurentiu Tudor
[rebased, split irqchip to separate patch]
Signed-off-by: Bogdan Purcareata
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
---
Notes:
-v6:
- generate patch with rename detection enabled (GregKH)
-v5:
- split irqchip glue code to separate patch (GregKH
:
- split irqchip glue code to separate patch (GregKH)
- integrate doc with the kernel build system
-v4:
- regenerated patch with renames detection disabled (Andrew Lunn)
-v3:
- rebased
-v2:
- group irqchip gic its glue code together with the rest (Marc Zyngier)
Bogdan
]
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
[add Kconfig dependency on ARM_GIC_V3_ITS]
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <m
:
- split irqchip glue code to separate patch (GregKH)
- integrate doc with the kernel build system
-v4:
- regenerated patch with renames detection disabled (Andrew Lunn)
-v3:
- rebased
-v2:
- group irqchip gic its glue code together with the rest (Marc Zyngier)
Bogdan
platforms. We can now remove #ifdef
GENERIC_MSI_DOMAIN_OPS as it was only needed for x86.
Signed-off-by: Stuart Yoder
[rebased, add dpaa2_eth and dpio #include updates]
Signed-off-by: Laurentiu Tudor
[rebased, split irqchip to separate patch]
Signed-off-by: Bogdan Purcareata
[add Kconfig
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Friday, January 26, 2018 4:06 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com>; Ruxandra Ioana Ciocoi Radulescu
> <r
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Friday, January 26, 2018 4:06 PM
> To: Bogdan Purcareata
> Cc: Laurentiu Tudor ; Ruxandra Ioana Ciocoi Radulescu
> ; stuyo...@gmail.com; a...@arndb.de;
> r...@kernel.org; Ioana Ciornei
Tudor <laurentiu.tu...@nxp.com>
[rebased, split irqchip to separate patch]
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Jason Cooper <ja...@lakedaemon.net>
Cc: Marc Zyngier <marc.zyng...@arm.com>
---
Notes:
with the rest (Marc Zyngier)
Bogdan Purcareata (2):
staging: fsl-mc: Move core bus out of staging
staging: fsl-mc: Move irqchip code out of staging
Documentation/networking/dpaa2/index.rst | 8 +
Documentation/networking/dpaa2/overview.rst| 404 +
Documentation/networking
to separate patch]
Signed-off-by: Bogdan Purcareata
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
---
Notes:
-v5:
- split irqchip glue code to separate patch (GregKH)
-v4 - v1:
- no change
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-gic
with the rest (Marc Zyngier)
Bogdan Purcareata (2):
staging: fsl-mc: Move core bus out of staging
staging: fsl-mc: Move irqchip code out of staging
Documentation/networking/dpaa2/index.rst | 8 +
Documentation/networking/dpaa2/overview.rst| 404 +
Documentation/networking
The fsl-mc bus and dpio driver files use a combination of GPL-2.0 and
GPL-2.0+ OR BSD-3-Clause licenses. Add SPDX tags and delete the full
license text, keeping the existing license for each file. Add GPL-2.0
for Kconfig / Makefile, where not present.
Signed-off-by: Bogdan Purcareata
The fsl-mc bus and dpio driver files use a combination of GPL-2.0 and
GPL-2.0+ OR BSD-3-Clause licenses. Add SPDX tags and delete the full
license text, keeping the existing license for each file. Add GPL-2.0
for Kconfig / Makefile, where not present.
Signed-off-by: Bogdan Purcareata
Reviewed
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, January 16, 2018 5:13 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Laurentiu Tudor <laurentiu.tu...@nxp.com>; Ruxandra Ioana Ciocoi Radulescu
> &l
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, January 16, 2018 5:13 PM
> To: Bogdan Purcareata
> Cc: Laurentiu Tudor ; Ruxandra Ioana Ciocoi Radulescu
> ; de...@driverdev.osuosl.org; r...@kernel.org;
> stuyo...@gma
A lot of API and associated structures are not used by current code, so
remove them.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tu...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 2 -
drivers/staging/fsl-mc
The DPAA2 objects involved (DPMNG, DPMCP, DPRC) are used by the fsl-mc
bus infrastructure only, so group the APIs and structs into
fsl-mc-private.h.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tu...@nxp.com>
---
drivers/stagin
A lot of API and associated structures are not used by current code, so
remove them.
Signed-off-by: Bogdan Purcareata
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 2 -
drivers/staging/fsl-mc/bus/dpmcp.c | 32
drivers/staging/fsl-mc/bus/dpmcp.h | 5
The DPAA2 objects involved (DPMNG, DPMCP, DPRC) are used by the fsl-mc
bus infrastructure only, so group the APIs and structs into
fsl-mc-private.h.
Signed-off-by: Bogdan Purcareata
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 54
drivers/staging/fsl-mc
From: Ioana Radulescu
Minor cosmetic changes to the DPAA2 overview documentation file.
Add a reference to the mc-bus driver sysfs documentation.
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
From: Ioana Radulescu
Minor cosmetic changes to the DPAA2 overview documentation file.
Add a reference to the mc-bus driver sysfs documentation.
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/README.txt | 33 +
1 file
From: Ioana Radulescu
Update the doc file to comply with the rst format.
It's not integrated into the documentation build structure yet,
since it's still located in drivers/staging.
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu
From: Ioana Radulescu
Update the doc file to comply with the rst format.
It's not integrated into the documentation build structure yet,
since it's still located in drivers/staging.
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/README.txt | 387
From: Ioana Radulescu
The function that enables fsl-mc msi interrupts doesn't need
to be explicitly called from the fsl-mc bus driver initialization
routine.
Mark it to be independently called at system init; this is in line
with how things are handled by other GICv3
From: Ioana Radulescu
The function that enables fsl-mc msi interrupts doesn't need
to be explicitly called from the fsl-mc bus driver initialization
routine.
Mark it to be independently called at system init; this is in line
with how things are handled by other GICv3 irqchip users.
Due to this
From: Ioana Radulescu
With the declarations of its_fsl_mc_msi_init/cleanup() now removed
from fsl-mc-private.h, irq-gic-v3-its-fsl-mc-msi.c only needs a
couple of definitions from mc.h, so include that header directly.
Signed-off-by: Ioana Radulescu
From: Ioana Radulescu
With the declarations of its_fsl_mc_msi_init/cleanup() now removed
from fsl-mc-private.h, irq-gic-v3-its-fsl-mc-msi.c only needs a
couple of definitions from mc.h, so include that header directly.
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
From: Ioana Radulescu
Remove one unused function from irq-gic-v3-its-fsl-mc-msi.c
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/bus/fsl-mc-private.h | 2 --
From: Ioana Radulescu
Remove one unused function from irq-gic-v3-its-fsl-mc-msi.c
Signed-off-by: Ioana Radulescu
Reviewed-by: Laurentiu Tudor
---
drivers/staging/fsl-mc/bus/fsl-mc-private.h | 2 --
.../staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c| 19 ---
2
The fsl-mc bus and dpio driver files use a combination of GPL-2.0 and
GPL-2.0+ OR BSD-3-Clause licenses. Update to latter for all files. Add SPDX
tags and delete the full license text. Update copyright information.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Re
The fsl-mc bus and dpio driver files use a combination of GPL-2.0 and
GPL-2.0+ OR BSD-3-Clause licenses. Update to latter for all files. Add SPDX
tags and delete the full license text. Update copyright information.
Signed-off-by: Bogdan Purcareata
Reviewed-by: Laurentiu Tudor
---
drivers
process (.rst).
[1] https://patchwork.kernel.org/patch/10081731/
Bogdan Purcareata (3):
staging: fsl-mc: Cleanup dprc and dpmcp header files
staging: fsl-mc: Consolidate bus core header files
staging: fsl-mc: Add SPDX license identifiers
Ioana Radulescu (5):
staging: fsl-mc: Remove dead code
process (.rst).
[1] https://patchwork.kernel.org/patch/10081731/
Bogdan Purcareata (3):
staging: fsl-mc: Cleanup dprc and dpmcp header files
staging: fsl-mc: Consolidate bus core header files
staging: fsl-mc: Add SPDX license identifiers
Ioana Radulescu (5):
staging: fsl-mc: Remove dead code
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Monday, October 30, 2017 10:56 AM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: de...@driverdev.osuosl.org; gre...@linuxfoundation.org; linux-
> ker...@vger.kernel.org
&
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Monday, October 30, 2017 10:56 AM
> To: Bogdan Purcareata
> Cc: de...@driverdev.osuosl.org; gre...@linuxfoundation.org; linux-
> ker...@vger.kernel.org
> Subject: Re: [PATCH 4/5] s
From: Ioana Radulescu <ruxandra.radule...@nxp.com>
Since setup_dpni() became a bit too long, move the buffer layout
configuration to a separate function.
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.co
From: Ioana Radulescu
Since setup_dpni() became a bit too long, move the buffer layout
configuration to a separate function.
Signed-off-by: Ioana Radulescu
Signed-off-by: Bogdan Purcareata
---
v1 -> v2:
- no changes
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c |
-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
---
v1 -> v2:
- changed *_RAW_BUF_SIZE macro to inline function
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 18 +
drivers/staging/fsl-dpaa2/ethernet/d
.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
---
v1 -> v2:
- changed *_RX_HEAD_ROOM from macro to inline function
- since the patch is touching the area, did the same for *_NEEDED_HEADROOM
drivers/staging/fsl
From: Ioana Radulescu <ruxandra.radule...@nxp.com>
Clean up goto labels in a couple of functions, by
removing/renaming redundant ones.
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
v1 -> v2:
-
-off-by: Bogdan Purcareata
Signed-off-by: Ioana Radulescu
---
v1 -> v2:
- changed *_RAW_BUF_SIZE macro to inline function
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 18 +
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 27 ++
2 files changed,
.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Ioana Radulescu
---
v1 -> v2:
- changed *_RX_HEAD_ROOM from macro to inline function
- since the patch is touching the area, did the same for *_NEEDED_HEADROOM
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 85 +++---
driv
From: Ioana Radulescu
Clean up goto labels in a couple of functions, by
removing/renaming redundant ones.
Signed-off-by: Ioana Radulescu
Signed-off-by: Bogdan Purcareata
---
v1 -> v2:
- no changes
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 35 +++---
1 file chan
When configuring the Tx buffer layout, the software annotation size is
mentioned, and MC accounts for it when configuring the frame
tx_data_offset. No need to handle it in the driver as well.
This results in 64B less memory allocated per frame.
Signed-off-by: Bogdan Purcareata <bogdan.purc
When configuring the Tx buffer layout, the software annotation size is
mentioned, and MC accounts for it when configuring the frame
tx_data_offset. No need to handle it in the driver as well.
This results in 64B less memory allocated per frame.
Signed-off-by: Bogdan Purcareata
---
v1 ->
to prevent
netstack reallocations in forwarding scenarios.
Patchset sent against staging-next.
v1 -> v2:
- clarified one commit message
- changed some macros to inline functions
- more comments per individual patches
Bogdan Purcareata (3):
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_off
to prevent
netstack reallocations in forwarding scenarios.
Patchset sent against staging-next.
v1 -> v2:
- clarified one commit message
- changed some macros to inline functions
- more comments per individual patches
Bogdan Purcareata (3):
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_off
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:30 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Ruxandra Ioana Radulescu <ruxandra.radule...@nxp.com>;
> gre...@linuxfoundation.org
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:30 PM
> To: Bogdan Purcareata
> Cc: Ruxandra Ioana Radulescu ;
> gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;
> de...@driverdev.osuosl.org
>
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:34 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Ruxandra Ioana Radulescu <ruxandra.radule...@nxp.com>;
> gre...@linuxfoundation.org
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:34 PM
> To: Bogdan Purcareata
> Cc: Ruxandra Ioana Radulescu ;
> gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;
> de...@driverdev.osuosl.org
>
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:27 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Ruxandra Ioana Radulescu <ruxandra.radule...@nxp.com>;
> gre...@linuxfoundation.org
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Friday, October 27, 2017 5:27 PM
> To: Bogdan Purcareata
> Cc: Ruxandra Ioana Radulescu ;
> gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;
> de...@driverdev.osuosl.org
>
-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 18 ++
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 14 +++---
2 files changed, 25 inse
-off-by: Bogdan Purcareata
Signed-off-by: Ioana Radulescu
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 18 ++
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 14 +++---
2 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/fsl-dpaa2/ethernet
.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 79 +++---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 32 +++
2 files changed, 6
.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Ioana Radulescu
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 79 +++---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 32 +++
2 files changed, 67 insertions(+), 44 deletions(-)
diff --git a/drivers/staging/fsl
From: Ioana Radulescu <ruxandra.radule...@nxp.com>
Since setup_dpni() became a bit too long, move the buffer layout
configuration to a separate function.
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
--
From: Ioana Radulescu
Since setup_dpni() became a bit too long, move the buffer layout
configuration to a separate function.
Signed-off-by: Ioana Radulescu
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 79 +++---
1 file changed, 45
When configuring the Tx buffer layout, the software annotation size is
mentioned, and MC accounts for it when configuring the frame
tx_data_offset. No need to handle it in the driver as well.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/staging/fsl-dpaa2/et
When configuring the Tx buffer layout, the software annotation size is
mentioned, and MC accounts for it when configuring the frame
tx_data_offset. No need to handle it in the driver as well.
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 3 ---
1 file
From: Ioana Radulescu <ruxandra.radule...@nxp.com>
Clean up goto labels in a couple of functions, by
removing/renaming redundant ones.
Signed-off-by: Ioana Radulescu <ruxandra.radule...@nxp.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/staging/
From: Ioana Radulescu
Clean up goto labels in a couple of functions, by
removing/renaming redundant ones.
Signed-off-by: Ioana Radulescu
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 35 +++---
1 file changed, 15 insertions(+), 20
scenarios.
Patchset sent against staging-next.
Bogdan Purcareata (3):
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_offset
staging: fsl-dpaa2/eth: Change RX buffer alignment
staging: fsl-dpaa2/eth: Extra headroom in RX buffers
Ioana Radulescu (2):
staging: fsl-dpaa2/eth: Label cleanup
scenarios.
Patchset sent against staging-next.
Bogdan Purcareata (3):
staging: fsl-dpaa2/eth: Don't account SWA in tx_data_offset
staging: fsl-dpaa2/eth: Change RX buffer alignment
staging: fsl-dpaa2/eth: Extra headroom in RX buffers
Ioana Radulescu (2):
staging: fsl-dpaa2/eth: Label cleanup
> Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch
> (DPSW) objects discovered on the MC bus.
>
> Suggested-by: Alexandru Marginean
> Signed-off-by: Razvan Stefanescu
> ---
>
> Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch
> (DPSW) objects discovered on the MC bus.
>
> Suggested-by: Alexandru Marginean
> Signed-off-by: Razvan Stefanescu
> ---
> drivers/staging/fsl-dpaa2/ethsw/Makefile |2 +-
> drivers/staging/fsl-dpaa2/ethsw/ethsw.c
Writing to the register using writel does the CPU to LE conversion down the
line, so it's not required here. Doing it breaks portal configuration on
big endian kernels.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/staging/fsl-mc/bus/dpio/qbman-portal.
Writing to the register using writel does the CPU to LE conversion down the
line, so it's not required here. Doing it breaks portal configuration on
big endian kernels.
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-mc/bus/dpio/qbman-portal.c | 24
1 file
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Thursday, July 20, 2017 2:18 PM
> To: Bogdan Purcareata <bogdan.purcare...@nxp.com>
> Cc: Ruxandra Ioana Radulescu <ruxandra.radule...@nxp.com>;
> gre...@linuxfoundation.org
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Thursday, July 20, 2017 2:18 PM
> To: Bogdan Purcareata
> Cc: Ruxandra Ioana Radulescu ;
> gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;
> de...@driverdev.osuosl.org
>
Once a Tx frame descriptor is enqueued, an interrupt might be triggered
to process the Tx confirmation and free the skb, hitting a memory use
after free when updating the tx_bytes statistic based on skb->len.
Use the frame descriptor length instead.
Signed-off-by: Bogdan Purcare
Once a Tx frame descriptor is enqueued, an interrupt might be triggered
to process the Tx confirmation and free the skb, hitting a memory use
after free when updating the tx_bytes statistic based on skb->len.
Use the frame descriptor length instead.
Signed-off-by: Bogdan Purcareata
---
driv
Fix mishaps in error format strings.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
b/drivers/staging/fsl
Fix mishaps in error format strings.
Signed-off-by: Bogdan Purcareata
---
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
index
ists.infradead.org; Bogdan
> Purcareata <bogdan.purcare...@nxp.com>; stuyo...@gmail.com; Laurentiu Tudor
> <laurentiu.tu...@nxp.com>
> Subject: [PATCH] staging: fsl-dpaa2/eth: Remove dead code
>
> All possible values of the switch statement are explicitly
> hand
ists.infradead.org; Bogdan
> Purcareata ; stuyo...@gmail.com; Laurentiu Tudor
>
> Subject: [PATCH] staging: fsl-dpaa2/eth: Remove dead code
>
> All possible values of the switch statement are explicitly
> handled, so there's no need to have a default branch.
>
> Signed-
ists.infradead.org; Bogdan
> Purcareata <bogdan.purcare...@nxp.com>; stuyo...@gmail.com; Laurentiu Tudor
> <laurentiu.tu...@nxp.com>; Ruxandra Ioana Radulescu
> <ruxandra.radule...@nxp.com>; Roy Pledge <roy.ple...@nxp.com>; Haiying Wang
> <haiying.w...@nxp.com&
ists.infradead.org; Bogdan
> Purcareata ; stuyo...@gmail.com; Laurentiu Tudor
> ; Ruxandra Ioana Radulescu
> ; Roy Pledge ; Haiying Wang
>
> Subject: [PATCH] staging: fsl-mc/dpio: Propagate error code
>
> dpaa2_io_service_register() returns zero even if
> qbma
Add device tree description info for Cortina 10G phy devices.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
v3 -> v4:
- Consistency nit between phy label and reg value.
- Add CORTINNA trademark info.
Patch introduced in v3 of the patchset.
Documentation/devicetree
t-phy-id" device tree
compatible.
Signed-off-by: Bogdan Purcareata <bogdan.purcare...@nxp.com>
---
v3 -> v4:
- Add CORTINA trademark info.
- Change id_lsb and id_msb from u32 to int to cover error checking.
v2 -> v3:
- Add probe function to check the device we're talking with is
1 - 100 of 208 matches
Mail list logo