diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-02-15 12:17:58 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-19 18:12:03 -0500 |
commit | 6c267b3dea09aebe84752cfedcab140c908830bb (patch) | |
tree | 39d8721df6a1c3d43b795dbea0740b6b5e9a42f7 /drivers/net/ethernet/ibm/ibmvnic.h | |
parent | 1e128c81290a419ab9ec8b09fe989f1c6c15a0f4 (diff) | |
download | lwn-6c267b3dea09aebe84752cfedcab140c908830bb.tar.gz lwn-6c267b3dea09aebe84752cfedcab140c908830bb.zip |
ibmvnic: Handle processing of CRQ messages in a tasklet
Create a tasklet to process queued commands or messages received from
firmware instead of processing them in the interrupt handler. Note that
this handler does not process network traffic, but communications related
to resource allocation and device settings.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.h')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index dd775d951b73..0d0edc36107a 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -1049,5 +1049,6 @@ struct ibmvnic_adapter { struct work_struct vnic_crq_init; struct work_struct ibmvnic_xport; + struct tasklet_struct tasklet; bool failover; }; |