net/ixgbe: fix RSS RETA being reset after port start
authorMurphy Yang <murphyx.yang@intel.com>
Mon, 29 Mar 2021 08:28:45 +0000 (08:28 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 29 Mar 2021 23:21:17 +0000 (01:21 +0200)
commit8b628c22b38f7a81b6cba677aaabd140d8583ae5
tree9879edbf4a9ecd7809c8cbff4a2796e52eeb838b
parent8052638442f46a67c57a1cb185958aac4f97a136
net/ixgbe: fix RSS RETA being reset after port start

If one calls ‘rte_eth_dev_rss_reta_update’ with ixgbe before starting
the device (but after setting everything else), then RSS RETA
configuration will be zero after starting the device.

This patch gives a notification if the port not started.

Bugzilla ID: 664
Fixes: 249358424eab ("ixgbe: RSS RETA configuration")
Cc: stable@dpdk.org
Signed-off-by: Murphy Yang <murphyx.yang@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c