net/igb: fix Tx queue number assignment
authorYangchao Zhou <zhouyates@gmail.com>
Wed, 29 Nov 2017 02:50:12 +0000 (10:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite761a104d22947424c2541c6a255a39b3705326e
tree0f8a608bec53804e3f726b7b364aa767f0f10998
parent3f1e2003bace17054505f89320a550c8fb914388
net/igb: fix Tx queue number assignment

Internal variable containing the number of TX queues for a device,
was being incorrectly assigned the number of RX queues, instead of TX.

Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers")
Cc: stable@dpdk.org
Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
Acked-by: Wei Dai <wei.dai@intel.com>
drivers/net/e1000/igb_ethdev.c