net/i40e: support request any number of queues
authorZhirun Yan <zhirun.yan@intel.com>
Tue, 15 Jan 2019 14:57:17 +0000 (14:57 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Jan 2019 08:47:26 +0000 (09:47 +0100)
commit76469c0631adbc007e89f70f2503ed9b5e3f7f8b
tree52d506e0ca7767734414470915259e1e9dbe1194
parent1d4b2b4966bbb219afd2d7072ffba51f3a3067a5
net/i40e: support request any number of queues

Before this patch, VF must request a specific queues(1/2/4/8/16) with
DPDK PF. This patch align the number of requested queues to next power
of 2. So VF can request any number queues from 1 to 16.

Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_pf.c