aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/pci.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-08-10 10:47:43 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-10 10:22:22 -0700
commitc9fbb2d25295a566b97d62e6904741e8e1702d83 (patch)
tree12531c90f789e6fe13b8addf25eac4e74da8f2ae /drivers/net/ethernet/mellanox/mlxsw/pci.c
parentcxgb4: update 1.20.8.0 as the latest firmware supported (diff)
downloadlinux-dev-c9fbb2d25295a566b97d62e6904741e8e1702d83.tar.xz
linux-dev-c9fbb2d25295a566b97d62e6904741e8e1702d83.zip
net: Provide stub for __netif_set_xps_queue if there is no CONFIG_XPS
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions