]> git.baikalelectronics.ru Git - kernel.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)
commitffca44dbdf0e543470e152cf32e4a5c014f21af9
tree0c3a35f7fe02857cb4320d322155ec7f52fa8a6d
parent5a02b8418a488c0772d664303b90cca31387bbb3
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