net/i40e: fix overwriting RSS RETA
authorXiaoyun Li <xiaoyun.li@intel.com>
Mon, 3 Dec 2018 08:26:32 +0000 (16:26 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:40:25 +0000 (16:40 +0000)
commit36c5dc8e5d3c73824fc962abd26d013f00c55cb3
treee7f80850c80017e1be267830991b114d870a902e
parent81b531cfc235149f68a40842abf0767a4fbfe994
net/i40e: fix overwriting RSS RETA

When starting the device, the RSS table is initialized. So the RSS
update before dev_start would be overwritten. This patch allows users
to update the RSS reta table before dev_start and adjusts the order
to set entries sequentially.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h