i40e: adjust the number of queues for RSS
authorHelin Zhang <helin.zhang@intel.com>
Tue, 3 Nov 2015 15:40:27 +0000 (23:40 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 21:58:45 +0000 (22:58 +0100)
commit50641113d047abd094b00a29158afa00b9c53af1
tree74ce3cf2d805af6925470fd15043a0cb04395541
parent612ad38209f751ec7909bb31f7b125d738fc4090
i40e: adjust the number of queues for RSS

It adjusts the number of queues for RSS from power of 2 to any as
long as it does not exceeds the hardware allowed.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c