diff options
| author | Ivan Vecera <[email protected]> | 2023-11-13 23:10:28 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-15 04:05:44 +0000 |
| commit | 8cc29564d22777724626c4ea54fbe582d0c8e7d0 (patch) | |
| tree | 08e0e68bf490eda148d765fbe098a20688564f07 /drivers/net/ethernet/intel/i40e/i40e_debug.h | |
| parent | i40e: Consolidate hardware capabilities (diff) | |
| download | kernel-8cc29564d22777724626c4ea54fbe582d0c8e7d0.tar.gz kernel-8cc29564d22777724626c4ea54fbe582d0c8e7d0.zip | |
i40e: Initialize hardware capabilities at single place
Some i40e_hw.caps bits are set in i40e_set_hw_caps(), some of them
in i40e_init_adminq() and the rest of them in i40e_sw_init().
Consolidate the initialization to single proper place i40e_set_hw_caps().
Signed-off-by: Ivan Vecera <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_debug.h')
| -rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_debug.h b/drivers/net/ethernet/intel/i40e/i40e_debug.h index 27ebc72d8bfe..e9871dfb32bd 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_debug.h +++ b/drivers/net/ethernet/intel/i40e/i40e_debug.h @@ -37,6 +37,7 @@ struct i40e_hw; struct device *i40e_hw_to_dev(struct i40e_hw *hw); #define hw_dbg(hw, S, A...) dev_dbg(i40e_hw_to_dev(hw), S, ##A) +#define hw_warn(hw, S, A...) dev_warn(i40e_hw_to_dev(hw), S, ##A) #define i40e_debug(h, m, s, ...) \ do { \ |
