summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-11-02 00:22:56 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-04 02:41:24 +0100
commitabba4b16fddda9a1012140dab4a9965045a77179 (patch)
tree2f113cea9183e674f8732b27ca0cc717b5dbfacb /drivers/crypto/caam
parentsoc/fsl/qbman: Add an argument to signal if NAPI processing is required. (diff)
downloadlinux-abba4b16fddda9a1012140dab4a9965045a77179.tar.xz
linux-abba4b16fddda9a1012140dab4a9965045a77179.zip
net: dpaa: Replace in_irq() usage.
The driver uses in_irq() + in_serving_softirq() magic to decide if NAPI scheduling is required or packet processing. The usage of in_*() in drivers is phased out and Linus clearly requested that code which changes behaviour depending on context should either be separated or the context be conveyed in an argument passed by the caller, which usually knows the context. Use the `sched_napi' argument passed by the callback. It is set true if called from the interrupt handler and NAPI should be scheduled. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Aymen Sghaier <aymen.sghaier@nxp.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Li Yang <leoyang.li@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Madalin Bucur <madalin.bucur@oss.nxp.com> Tested-by: Camelia Groza <camelia.groza@nxp.com>
Diffstat (limited to 'drivers/crypto/caam')
0 files changed, 0 insertions, 0 deletions