HomeFreeBSD

irdma(4): hide tasklet-related definitions to avoid redefines

Description

irdma(4): hide tasklet-related definitions to avoid redefines

checking if either from_tasklet or tasklet_setup
exists before defining irdma's own version.

This is a result of changes introduced in:
f2978460c7fd ("LinuxKPI: tasklet add (*callback) support", 2022-11-08)

The code should be kept until the from_timer and
tasklet_setup is defined in linuxkpi's interrupt.h

This is a direct commit to the stable/13 branch.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Details

Provenance
bartosz.sobczak_intel.comAuthored on Jan 23 2023, 10:17 AM
erjCommitted on Feb 8 2023, 12:24 AM
Parents
rG3b65af50fc2a: ibcore: The use of IN_LOOPBACK() now requires a valid VNET context.
Branches
Unknown
Tags
Unknown