Re: [PATCH net-next V5 1/2] irq: Utility function to get affinity_hint by policy

2014-03-11 Thread Thomas Gleixner
On Tue, 11 Mar 2014, Amir Vadai wrote: > +/** > + * irq_set_mq_dev_affinit_hint - set affinity hint of a queue in multi queue > + * device The function is a complete misnomer. It calculates a cpu number and sets that bit in the supplied cpumask. There is no connection to the affinity hint at all.

[PATCH net-next V5 1/2] irq: Utility function to get affinity_hint by policy

2014-03-11 Thread Amir Vadai
This function sets the affinity_mask for a multi queue device according to a numa aware policy. affinity_mask could be used as an affinity hint for the IRQ related to this queue. Current policy is to spread queues accross cores - local cores first. It could be extended in the future. CC: Prarit Bh