]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Add ice_get_fw_log_cfg to init FW logging
authorDan Nowlin <dan.nowlin@intel.com>
Tue, 16 Apr 2019 17:30:49 +0000 (10:30 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 May 2019 09:57:27 +0000 (02:57 -0700)
commit11fe1b3a3872cd3506ba873d47674b0d47a2c34b
tree0c3a35f7fe02857cb4320d322155ec7f52fa8a6d
parent1eb11036a380810433423ba43cc41aa0e0f989b4
ice: Add ice_get_fw_log_cfg to init FW logging

In order to initialize the current status of the FW logging,
this patch adds ice_get_fw_log_cfg. 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: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c