net/ice/base: fix flag settings in AQ call
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:41 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit21b28a9ef74946a8031e4d260e079de1c28428ec
tree7f2a0508d25c0fbf89abe23b638cd3b7904728d8
parentb32be950a378e72dbd543404ba780332973c92c2
net/ice/base: fix flag settings in AQ call

Removed setting Read flag in the Get Allocated Resource Descriptors AQ
command (0x020A). The read flag is not required for this command and
causes the FW to return an error.

Fixes: d781ccbdd15d ("net/ice/base: add functions to get allocated resources")
Cc: stable@dpdk.org
Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_switch.c