net/ixgbe: fix overwriting RSS RETA
authorXiaoyun Li <xiaoyun.li@intel.com>
Tue, 4 Dec 2018 04:37:57 +0000 (12:37 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:40:25 +0000 (16:40 +0000)
commit8832837c6e64a75be31f32c49da261db15054c0d
tree35d391a89923ec6d1eebea68c6dd0f0cf3579c9c
parent36c5dc8e5d3c73824fc962abd26d013f00c55cb3
net/ixgbe: fix overwriting RSS RETA

When starting the device, the RSS table is initialized. So the RSS
update before device_start would be overwritten. This patch allows users
to update the RSS reta table before device_start.

Fixes: db5b65301dde ("ethdev: allow to set RSS hash computation flags and/or key")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/ixgbe_rxtx.c