Re: [PATCH net-next] enic: assign affinity hint to interrupts
From: David Miller <davem@davemloft.net>
Date: 2015-10-30 09:21:40
From: David Miller <davem@davemloft.net>
Date: 2015-10-30 09:21:40
From: Govindarajulu Varadarajan <redacted> Date: Tue, 27 Oct 2015 23:28:42 +0530
Introduce enic module global variable enic_numa_count[] to store the number of affinity_hints set. If there are more than one enic interfaces, we do not want them to share same affinity hint cpus. We store the history of affinity hint assignment of all interfaces in global variable enic_numa_count. Introduce enic_affinity_hint spinlock to access enic_numa_count.
This is policy outside of the domain of your driver, no other networking driver does this. Please remove this aspect of your change.