net: thunderx: Assign affinity hints to vf's interrupts
This affinity hint can be used by user space irqbalance tool to set preferred CPU mask for irqs registered by this VF. Irqbalance needs to be in 'exact' mode to set irq affinity same as indicated by affinity hint. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ef0a4d8601
commit
fb4b7d98a0
@@ -309,6 +309,7 @@ struct nicvf {
|
||||
struct msix_entry msix_entries[NIC_VF_MSIX_VECTORS];
|
||||
char irq_name[NIC_VF_MSIX_VECTORS][20];
|
||||
bool irq_allocated[NIC_VF_MSIX_VECTORS];
|
||||
cpumask_var_t affinity_mask[NIC_VF_MSIX_VECTORS];
|
||||
|
||||
/* VF <-> PF mailbox communication */
|
||||
bool pf_acked;
|
||||
|
Reference in New Issue
Block a user