net/ice/base: add functions to initialize FW logging
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:17:53 +0000 (23:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit6c0befff8d16ddffa03ad08d13d288f3e7dedbc5
treec81876e69f532c9a4c4ec11ea6e40b4359f3f315
parent964443bdcd67099bd85f8a2cccff28f8607dfc50
net/ice/base: add functions to initialize FW logging

In order to initialize the current status of the FW logging,
the api ice_get_fw_log_cfg is added. The function retrieves
the current setting of the FW logging from HW and updates the
ice_hw structure accordingly.

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: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_adminq_cmd.h
drivers/net/ice/base/ice_common.c