net/netvsc: fix chimney index
authorLong Li <longli@microsoft.com>
Sun, 2 Aug 2020 06:04:28 +0000 (23:04 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Aug 2020 15:57:13 +0000 (17:57 +0200)
commit3eee636809e449b8b4c0cdfaf841f2d0e4a558e8
treeef3677c1a4c67d27f14c2cbe6d7b58cfff99458e
parenteb8939538fddced05b906c34ba9f545bf6717ad2
net/netvsc: fix chimney index

The code should look into "slab" to figure out the index returned from
rte_bitmap_scan().

Fixes: cc02518132 ("net/netvsc: split send buffers from Tx descriptors")
Cc: stable@dpdk.org
Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_rxtx.c