[PATCH net-next v3 37/47] soc: fsl: qbman: Add CGR update function

Camelia Alexandra Groza camelia.groza at nxp.com
Thu Jul 21 23:18:21 AEST 2022


> -----Original Message-----
> From: Linuxppc-dev <linuxppc-dev-
> bounces+camelia.groza=nxp.com at lists.ozlabs.org> On Behalf Of Sean
> Anderson
> Sent: Saturday, July 16, 2022 1:00
> To: David S . Miller <davem at davemloft.net>; Jakub Kicinski
> <kuba at kernel.org>; Madalin Bucur <madalin.bucur at nxp.com>;
> netdev at vger.kernel.org
> Cc: Leo Li <leoyang.li at nxp.com>; Sean Anderson
> <sean.anderson at seco.com>; Russell King <linux at armlinux.org.uk>; linux-
> kernel at vger.kernel.org; Eric Dumazet <edumazet at google.com>; Paolo
> Abeni <pabeni at redhat.com>; linuxppc-dev at lists.ozlabs.org; linux-arm-
> kernel at lists.infradead.org
> Subject: [PATCH net-next v3 37/47] soc: fsl: qbman: Add CGR update
> function
> 
> This adds a function to update a CGR with new parameters.
> qman_cgr_create can almost be used for this (with flags=0), but it's not

It's qman_create_cgr, not qman_cgr_create.

> suitable because it also registers the callback function. The _safe
> variant was modeled off of qman_cgr_delete_safe. However, we handle
> multiple arguments and a return value.
> 
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>

Acked-by: Camelia Groza <camelia.groza at nxp.com>


More information about the Linuxppc-dev mailing list