mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:35:39 +07:00
i40e: fix incorrect register definition
This register was defined incorrectly. Fix the increment value to 8, and replace the iterator with _i to make the definition consistent with other statistics registers. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
60518a0489
commit
0a0d9af5bc
@ -2794,7 +2794,7 @@
|
||||
#define I40E_GLV_RUPP_MAX_INDEX 383
|
||||
#define I40E_GLV_RUPP_RUPP_SHIFT 0
|
||||
#define I40E_GLV_RUPP_RUPP_MASK I40E_MASK(0xFFFFFFFF, I40E_GLV_RUPP_RUPP_SHIFT)
|
||||
#define I40E_GLV_TEPC(_VSI) (0x00344000 + ((_VSI) * 4)) /* _i=0...383 */ /* Reset: CORER */
|
||||
#define I40E_GLV_TEPC(_i) (0x00344000 + ((_i) * 8)) /* _i=0...383 */ /* Reset: CORER */
|
||||
#define I40E_GLV_TEPC_MAX_INDEX 383
|
||||
#define I40E_GLV_TEPC_TEPC_SHIFT 0
|
||||
#define I40E_GLV_TEPC_TEPC_MASK I40E_MASK(0xFFFFFFFF, I40E_GLV_TEPC_TEPC_SHIFT)
|
||||
|
Loading…
Reference in New Issue
Block a user