mbox series

[net-next,v2,00/17] ucc_geth improvements

Message ID 20210119150802.19997-1-rasmus.villemoes@prevas.dk (mailing list archive)
Headers show
Series ucc_geth improvements | expand

Message

Rasmus Villemoes Jan. 19, 2021, 3:07 p.m. UTC
This is a resend of some improvements to the ucc_geth driver that was
previously sent together with bug fixes, which have by now been
applied.

Li Yang, if you don't speak up, I'm going to assume you're fine with
2,3,4 being taken through the net tree?

v2: rebase to net/master; address minor style issues; don't introduce
a use-after-free in patch "don't statically allocate eight
ucc_geth_info".

Rasmus Villemoes (17):
  ethernet: ucc_geth: remove unused read of temoder field
  soc: fsl: qe: make cpm_muram_offset take a const void* argument
  soc: fsl: qe: store muram_vbase as a void pointer instead of u8
  soc: fsl: qe: add cpm_muram_free_addr() helper
  ethernet: ucc_geth: use qe_muram_free_addr()
  ethernet: ucc_geth: remove unnecessary memset_io() calls
  ethernet: ucc_geth: replace kmalloc+memset by kzalloc
  ethernet: ucc_geth: remove {rx,tx}_glbl_pram_offset from struct
    ucc_geth_private
  ethernet: ucc_geth: factor out parsing of {rx,tx}-clock{,-name}
    properties
  ethernet: ucc_geth: constify ugeth_primary_info
  ethernet: ucc_geth: don't statically allocate eight ucc_geth_info
  ethernet: ucc_geth: use UCC_GETH_{RX,TX}_BD_RING_ALIGNMENT macros
    directly
  ethernet: ucc_geth: remove bd_mem_part and all associated code
  ethernet: ucc_geth: replace kmalloc_array()+for loop by kcalloc()
  ethernet: ucc_geth: add helper to replace repeated switch statements
  ethernet: ucc_geth: inform the compiler that numQueues is always 1
  ethernet: ucc_geth: simplify rx/tx allocations

 drivers/net/ethernet/freescale/ucc_geth.c | 549 ++++++++--------------
 drivers/net/ethernet/freescale/ucc_geth.h |   6 -
 drivers/soc/fsl/qe/qe_common.c            |  20 +-
 include/soc/fsl/qe/qe.h                   |  15 +-
 include/soc/fsl/qe/ucc_fast.h             |   1 -
 5 files changed, 209 insertions(+), 382 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 21, 2021, 8:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 19 Jan 2021 16:07:45 +0100 you wrote:
> This is a resend of some improvements to the ucc_geth driver that was
> previously sent together with bug fixes, which have by now been
> applied.
> 
> Li Yang, if you don't speak up, I'm going to assume you're fine with
> 2,3,4 being taken through the net tree?
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/17] ethernet: ucc_geth: remove unused read of temoder field
    https://git.kernel.org/netdev/net-next/c/0a950ce029c8
  - [net-next,v2,02/17] soc: fsl: qe: make cpm_muram_offset take a const void* argument
    https://git.kernel.org/netdev/net-next/c/e8e507a8ac90
  - [net-next,v2,03/17] soc: fsl: qe: store muram_vbase as a void pointer instead of u8
    https://git.kernel.org/netdev/net-next/c/155ea0dc8dcb
  - [net-next,v2,04/17] soc: fsl: qe: add cpm_muram_free_addr() helper
    https://git.kernel.org/netdev/net-next/c/186b8daffb4e
  - [net-next,v2,05/17] ethernet: ucc_geth: use qe_muram_free_addr()
    https://git.kernel.org/netdev/net-next/c/03588e92c07f
  - [net-next,v2,06/17] ethernet: ucc_geth: remove unnecessary memset_io() calls
    https://git.kernel.org/netdev/net-next/c/0a71c415297f
  - [net-next,v2,07/17] ethernet: ucc_geth: replace kmalloc+memset by kzalloc
    https://git.kernel.org/netdev/net-next/c/830c8ddc66df
  - [net-next,v2,08/17] ethernet: ucc_geth: remove {rx,tx}_glbl_pram_offset from struct ucc_geth_private
    https://git.kernel.org/netdev/net-next/c/7d9fe90036f7
  - [net-next,v2,09/17] ethernet: ucc_geth: factor out parsing of {rx,tx}-clock{,-name} properties
    https://git.kernel.org/netdev/net-next/c/632e3f2d9922
  - [net-next,v2,10/17] ethernet: ucc_geth: constify ugeth_primary_info
    https://git.kernel.org/netdev/net-next/c/b0292e086bee
  - [net-next,v2,11/17] ethernet: ucc_geth: don't statically allocate eight ucc_geth_info
    https://git.kernel.org/netdev/net-next/c/baff4311c40d
  - [net-next,v2,12/17] ethernet: ucc_geth: use UCC_GETH_{RX,TX}_BD_RING_ALIGNMENT macros directly
    https://git.kernel.org/netdev/net-next/c/b29fafd3570b
  - [net-next,v2,13/17] ethernet: ucc_geth: remove bd_mem_part and all associated code
    https://git.kernel.org/netdev/net-next/c/64a99fe596f9
  - [net-next,v2,14/17] ethernet: ucc_geth: replace kmalloc_array()+for loop by kcalloc()
    https://git.kernel.org/netdev/net-next/c/33deb13c87e5
  - [net-next,v2,15/17] ethernet: ucc_geth: add helper to replace repeated switch statements
    https://git.kernel.org/netdev/net-next/c/634b5bd73187
  - [net-next,v2,16/17] ethernet: ucc_geth: inform the compiler that numQueues is always 1
    https://git.kernel.org/netdev/net-next/c/53f49d86ea21
  - [net-next,v2,17/17] ethernet: ucc_geth: simplify rx/tx allocations
    https://git.kernel.org/netdev/net-next/c/9b0dfef47553

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html