diff options
author | Ben Shelton <benjamin.h.shelton@intel.com> | 2020-11-20 16:39:33 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-08 16:27:01 -0800 |
commit | 4f8a14976aa4b3304e83ff9b4e0a466a3131df3c (patch) | |
tree | 2cedd9bfe03e46459e0aa8b5ff1396a8471e6548 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | b126bd6bcd6710aa984104e979a5c930f44561b4 (diff) | |
download | linux-4f8a14976aa4b3304e83ff9b4e0a466a3131df3c.tar.gz linux-4f8a14976aa4b3304e83ff9b4e0a466a3131df3c.tar.bz2 linux-4f8a14976aa4b3304e83ff9b4e0a466a3131df3c.zip |
ice: Use PSM clock frequency to calculate RL profiles
The core clock frequency is currently hardcoded at 446 MHz for the RL
profile calculations. This causes issues since not all devices use that
clock frequency. Read the GLGEN_CLKSTAT_SRC register to determine which PSM
clock frequency is selected. This ensures that the rate limiter profile
calculations will be correct.
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions