net: Cap number of queues even with accel_priv
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Nov 2017 18:57:41 +0000 (10:57 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Jan 2018 16:20:36 +0000 (08:20 -0800)
commitd584527c70399cf0d095396d696029f54a10cfd3
treeb996687befcf2fb63b4d110d5effba79fdd83cc8
parent49cfbeb7a95c0436dfc127e2c37d71ed238532f8
net: Cap number of queues even with accel_priv

With the recent fix to ixgbe we can cap the number of queues always
regardless of if accel_priv is being used or not since the actual number of
queues are being reported via real_num_tx_queues.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
net/core/dev.c