net/i40e/base: introduce firmware EMP reset register
Introduce offsets of firmware registers holding a number of EMP resets. Implement offsets as a preprocessor's constants. Required by drivers to read a number of EMP resets reported by FW. Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com> Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Beilei Xing <beilei.xing@intel.com>
This commit is contained in:
parent
8b57cc446e
commit
cd9eb703e6
@ -366,6 +366,8 @@
|
||||
#define I40E_GL_FWSTS_FWRI_MASK I40E_MASK(0x1, I40E_GL_FWSTS_FWRI_SHIFT)
|
||||
#define I40E_GL_FWSTS_FWS1B_SHIFT 16
|
||||
#define I40E_GL_FWSTS_FWS1B_MASK I40E_MASK(0xFF, I40E_GL_FWSTS_FWS1B_SHIFT)
|
||||
#define I40E_GL_FWSTS_FWS1B_EMPR_0 I40E_MASK(0x20, I40E_GL_FWSTS_FWS1B_SHIFT)
|
||||
#define I40E_GL_FWSTS_FWS1B_EMPR_10 I40E_MASK(0x2A, I40E_GL_FWSTS_FWS1B_SHIFT)
|
||||
#define I40E_XL710_GL_FWSTS_FWS1B_REC_MOD_CORER_MASK \
|
||||
I40E_MASK(0x30, I40E_GL_FWSTS_FWS1B_SHIFT)
|
||||
#define I40E_XL710_GL_FWSTS_FWS1B_REC_MOD_GLOBR_MASK \
|
||||
|
Loading…
x
Reference in New Issue
Block a user