net/iavf: fix iterator for RSS LUT
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 21 Sep 2020 08:30:58 +0000 (16:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 21 Sep 2020 16:05:38 +0000 (18:05 +0200)
commit6faf884136f302b3bf0d2f984090b6c3816c7062
treec14324578acde5f9503c787e473b7e26be6ff97d
parent7ec9d6f4bd42610010e4dc85e35154f9e938e1d9
net/iavf: fix iterator for RSS LUT

Change RSS LUT iterator from uint8_t to uint16_t since the
RSS LUT size could exceed 255.

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Ting Xu <ting.xu@intel.com>
drivers/net/iavf/iavf_ethdev.c