Re: [PATCH] aacraid: Fix reply queue mapping to CPUs based on IRQ affinity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/27/25 4:32 PM, Sagar Biradar wrote:
Fixes: "(c5becf57dd56 Revert "scsi: aacraid: Reply queue mapping to CPUs
based on IRQ affinity)"
Original patch: "(9dc704dcc09e scsi: aacraid: Reply queue mapping to
CPUs based on IRQ affinity)"

Please add a functional description for the aac_map_queues function here.  All other
functions in this file include a description.  E.g.: look at aac_slave_configure.

/**
 *      aac_slave_configure             -       compute queue depths
 *      @sdev:  SCSI device we are considering
 *
 *      Selects queue depths for each target device based on the host adapter's
 *      total capacity and the queue depth supported by the target device.
 *      A queue depth of one automatically disables tagged queueing.
 */

+static void aac_map_queues(struct Scsi_Host */** +{
+	struct aac_dev *aac = (struct aac_dev *)shost->hostdata;
+
+	blk_mq_map_hw_queues(&shost->tag_set.map[HCTX_TYPE_DEFAULT],
+				&aac->pdev->dev, 0);
+	aac->use_map_queue = true;
+}





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux