* [net-next:master 518/519] drivers/net/virtio_net.c:1910:3: error: implicit declaration of function '__netif_set_xps_queue'
@ 2018-08-10 1:07 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-08-10 1:07 UTC (permalink / raw)
To: Andrei Vagin; +Cc: kbuild-all, netdev
[-- Attachment #1: Type: text/plain, Size: 1985 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 36d2f761b5aa688567b6aebdc6d68e73682275d4
commit: 4d99f6602cb552fb58db0c3b1d935bb6fa017f24 [518/519] net: allow to call netif_reset_xps_queues() under cpus_read_lock
config: i386-randconfig-sb0-08100039 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 4d99f6602cb552fb58db0c3b1d935bb6fa017f24
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/net/virtio_net.c: In function 'virtnet_set_affinity':
>> drivers/net/virtio_net.c:1910:3: error: implicit declaration of function '__netif_set_xps_queue' [-Werror=implicit-function-declaration]
__netif_set_xps_queue(vi->dev, mask, i, false);
^
cc1: some warnings being treated as errors
vim +/__netif_set_xps_queue +1910 drivers/net/virtio_net.c
1888
1889 static void virtnet_set_affinity(struct virtnet_info *vi)
1890 {
1891 int i;
1892 int cpu;
1893
1894 /* In multiqueue mode, when the number of cpu is equal to the number of
1895 * queue pairs, we let the queue pairs to be private to one cpu by
1896 * setting the affinity hint to eliminate the contention.
1897 */
1898 if (vi->curr_queue_pairs == 1 ||
1899 vi->max_queue_pairs != num_online_cpus()) {
1900 virtnet_clean_affinity(vi, -1);
1901 return;
1902 }
1903
1904 i = 0;
1905 for_each_online_cpu(cpu) {
1906 const unsigned long *mask = cpumask_bits(cpumask_of(cpu));
1907
1908 virtqueue_set_affinity(vi->rq[i].vq, cpu);
1909 virtqueue_set_affinity(vi->sq[i].vq, cpu);
> 1910 __netif_set_xps_queue(vi->dev, mask, i, false);
1911 i++;
1912 }
1913
1914 vi->affinity_hint_set = true;
1915 }
1916
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35193 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-10 3:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10 1:07 [net-next:master 518/519] drivers/net/virtio_net.c:1910:3: error: implicit declaration of function '__netif_set_xps_queue' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.