net/ice: update RSS RETA size with supported values
authorHaiyue Wang <haiyue.wang@intel.com>
Mon, 20 May 2019 08:14:33 +0000 (16:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 May 2019 16:40:06 +0000 (18:40 +0200)
commitdf5ff0ba729606c107c474ae1913cef40d6a5625
treea0617d0b2383ce5e68d20b26b7dff9711a9e9c98
parent4b748eef853ca2a21cc31fcb5dad8dfb226fe09a
net/ice: update RSS RETA size with supported values

Since ice can support 128, 512, 2K RSS RETA size value, change the
update API to set it to resize the RSS RETA table. And by default,
use 512 to sync with ETH_RSS_RETA_SIZE_x maximum value definition.
Also the flag ICE_FLAG_RSS_AQ_CAPABLE is missed to set.

Fixes: 690175ee51bf ("net/ice: support getting device information")
Fixes: ff963bfa7cb1 ("net/ice: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/ice_ethdev.c