diff options
| author | Michal Swiatkowski <[email protected]> | 2025-08-12 04:23:27 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-09-11 19:09:37 +0000 |
| commit | bf59b53218bb0d3e7c9b69a3a8e3c17a3e2bcbc2 (patch) | |
| tree | ccce4980ac4d100edf7f6dc696d51bd7891c5759 /drivers/net/ethernet/intel/ice/ice_debugfs.c | |
| parent | ice: add pdev into fwlog structure and use it for logging (diff) | |
| download | kernel-bf59b53218bb0d3e7c9b69a3a8e3c17a3e2bcbc2.tar.gz kernel-bf59b53218bb0d3e7c9b69a3a8e3c17a3e2bcbc2.zip | |
ice: allow calling custom send function in fwlog
Fwlog code needs to communicate with FW. In ice it is done through admin
queue command. Allow indirect calling the send function to move the
specific admin queue send function from fwlog core code.
Reviewed-by: Przemek Kitszel <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_debugfs.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_debugfs.c b/drivers/net/ethernet/intel/ice/ice_debugfs.c index 1e036bc128c5..9235ae099e17 100644 --- a/drivers/net/ethernet/intel/ice/ice_debugfs.c +++ b/drivers/net/ethernet/intel/ice/ice_debugfs.c @@ -350,14 +350,14 @@ ice_debugfs_enable_write(struct file *filp, const char __user *buf, else hw->fwlog.cfg.options &= ~ICE_FWLOG_OPTION_ARQ_ENA; - ret = ice_fwlog_set(hw, &hw->fwlog.cfg); + ret = ice_fwlog_set(&hw->fwlog, &hw->fwlog.cfg); if (ret) goto enable_write_error; if (enable) - ret = ice_fwlog_register(hw, &hw->fwlog); + ret = ice_fwlog_register(&hw->fwlog); else - ret = ice_fwlog_unregister(hw, &hw->fwlog); + ret = ice_fwlog_unregister(&hw->fwlog); if (ret) goto enable_write_error; |
