On 9/9/26 12:07 PM, Dave Marquardt via B4 Relay wrote: > From: Dave Marquardt <[email protected]> > > Refactor async event handling to support both traditional async CRQs and > new asynchronous sub-queue CRQs. > > Introduce struct ibmvfc_async_crq_event, a tagged union that wraps > either an ibmvfc_async_crq (main CRQ) or an ibmvfc_async_sub_crq > (async sub-CRQ), with an enum ibmvfc_async_crq_type discriminator. > Replace the ibmvfc_async_work bare union and is_subq bool with a > single event field of this type. > > Modify ibmvfc_handle_async() to accept a struct ibmvfc_async_crq_event * > instead of a void * plus a bool flag. Update ibmvfc_process_async_work() > to dispatch based on event.type. > > Add ibmvfc_full_fpin_to_desc() to convert full FPIN messages from async > sub-queue format to fc_els_fpin structures. Update FPIN processing logic > to extract WWPN, node_name, and scsi_id from the appropriate union member > based on event type. > > Update KUnit tests to use struct ibmvfc_async_crq_event arrays at call > sites. > > Signed-off-by: Dave Marquardt <[email protected]> > --- Acked-by: Tyrel Datwyler <[email protected]>
- Re: [PATCH v8 6/9] scsi: ibmvfc: extend c... Tyrel Datwyler
- [PATCH v8 3/9] scsi: ibmvfc: add FPIN extended... Dave Marquardt via B4 Relay
- Re: [PATCH v8 3/9] scsi: ibmvfc: add FPIN... Tyrel Datwyler
- [PATCH v8 5/9] scsi: ibmvfc: add interrupt rou... Dave Marquardt via B4 Relay
- Re: [PATCH v8 5/9] scsi: ibmvfc: add inte... Tyrel Datwyler
- [PATCH v8 2/9] scsi: ibmvfc: add NOOP command ... Dave Marquardt via B4 Relay
- Re: [PATCH v8 2/9] scsi: ibmvfc: add NOOP... Tyrel Datwyler
- [PATCH v8 7/9] scsi: ibmvfc: fix IRQ leak and ... Dave Marquardt via B4 Relay
- Re: [PATCH v8 7/9] scsi: ibmvfc: fix IRQ ... Tyrel Datwyler
- [PATCH v8 4/9] scsi: ibmvfc: extend async even... Dave Marquardt via B4 Relay
- Re: [PATCH v8 4/9] scsi: ibmvfc: extend a... Tyrel Datwyler
- [PATCH v8 8/9] scsi: ibmvfc: register and use ... Dave Marquardt via B4 Relay
- Re: [PATCH v8 8/9] scsi: ibmvfc: register... Tyrel Datwyler
- [PATCH v8 1/9] scsi: ibmvfc: add basic FPIN su... Dave Marquardt via B4 Relay
- [PATCH v8 9/9] scsi: ibmvfc: handle extended F... Dave Marquardt via B4 Relay
- Re: [PATCH v8 9/9] scsi: ibmvfc: handle e... Tyrel Datwyler
- [PATCH v9 2/9] scsi: ibmvfc: add NOOP command ... Tyrel Datwyler
- [PATCH v9 3/9] scsi: ibmvfc: add FPIN extended... Tyrel Datwyler
- [PATCH v9 4/9] scsi: ibmvfc: extend async even... Tyrel Datwyler
- [PATCH v9 5/9] scsi: ibmvfc: add interrupt rou... Tyrel Datwyler
- [PATCH v9 7/9] scsi: ibmvfc: fix IRQ leak and ... Tyrel Datwyler
