mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
liquidio: add support for XPS
Add support for XPS. Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: Derek Chickles <derek.chickles@cavium.com> Signed-off-by: Satanand Burla <satananda.burla@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
64f48e593a
commit
35ae57eae9
@ -2553,6 +2553,15 @@ static inline int setup_io_queues(struct octeon_device *octeon_dev,
|
||||
__func__);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (octeon_dev->ioq_vector) {
|
||||
struct octeon_ioq_vector *ioq_vector;
|
||||
|
||||
ioq_vector = &octeon_dev->ioq_vector[q];
|
||||
netif_set_xps_queue(netdev,
|
||||
&ioq_vector->affinity_mask,
|
||||
ioq_vector->iq_index);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user