RE: [PATCH net-next v2 00/17] ucc_geth improvements
From: Leo Li <hidden>
Date: 2021-01-19 21:11:37
-----Original Message----- From: Rasmus Villemoes <redacted> Sent: Tuesday, January 19, 2021 9:08 AM To: netdev@vger.kernel.org Cc: Leo Li <redacted>; David S . Miller <davem@davemloft.net>; Qiang Zhao [off-list ref]; Andrew Lunn [off-list ref]; Christophe Leroy [off-list ref]; Jakub Kicinski [off-list ref]; jocke@infinera.com [off-list ref]; Rasmus Villemoes [off-list ref] Subject: [PATCH net-next v2 00/17] ucc_geth improvements 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?
I'm fine with them going 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(-)
--
2.23.0