fm10k: fix queue disabling
authorWang Xiao W <xiao.w.wang@intel.com>
Fri, 31 Jul 2015 05:05:47 +0000 (13:05 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 14:50:21 +0000 (16:50 +0200)
commitaa868640859c72517db55b724fd7e18ee1f35482
treed15f45f9e8bfef7155d6375b3e33a175ce9b92cc
parent4a5d5d54222cef8f15810ab366aa8049b59a0962
fm10k: fix queue disabling

In Rx and Tx queue_disable functions, the index of queue should
be qnum other than i which is the iteration of time expiration.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/fm10k_ethdev.c