lkml.org 
[lkml]   [2018]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: Provide stub for __netif_set_xps_queue if there is no CONFIG_XPS
From
From: Krzysztof Kozlowski <krzk@kernel.org>
Date: Fri, 10 Aug 2018 10:47:43 +0200

> Building virtio_net driver without CONFIG_XPS fails with:
>
> 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);
> ^
> Fixes: 4d99f6602cb5 ("net: allow to call netif_reset_xps_queues() under cpus_read_lock")
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Applied, thank you.
\
 
 \ /
  Last update: 2018-08-10 19:23    [W:0.021 / U:8.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site