>>>>> "Sreekanth" == Sreekanth Reddy <sreekanth.re...@avagotech.com> writes:
Sreekanth> Change_set: 1. Added affinity_hint varable of type Sreekanth> cpumask_var_t in adapter_reply_queue structure. And allocated Sreekanth> a memory for this varable by calling alloc_cpumask_var. Sreekanth> 2. Call the API irq_set_affinity_hint for each MSIx vector to Sreekanth> affiniate it with calculated cpus at driver inilization time. Sreekanth> 3. While freeing the MSIX vector, call this same API to Sreekanth> release the cpu affinity mask for each MSIx vector by Sreekanth> providing the NULL value in cpumask argument. 4. then call Sreekanth> the free_cpumask_var API to free the memory allocated in step Sreekanth> 2. (Still dreaming of a combined mpt2sas and mpt3sas so I wouldn't have to review everything twice). Reviewed-by: Martin K. Petersen <martin.peter...@oracle.com> -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/