From: Robin Zhang Date: Sat, 9 Oct 2021 01:39:43 +0000 (+0000) Subject: net/i40e/base: define new shadow RAM pointers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6c751fd18eda6acd3280575c85561682b0a9330d;p=dpdk.git net/i40e/base: define new shadow RAM pointers Add definitions for Shadow RAM pointers: 6th FPA (Free Provisioning Area) module, 5th FPA module in X722 and Preservation Rules module. These definitions are not using by DPDK now, the purpose of this commit is to sync base code with kernel driver. Signed-off-by: Stanislaw Grzeszczak Signed-off-by: Robin Zhang Acked-by: Beilei Xing --- diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index cf41345834..e5a3729183 100644 --- a/drivers/net/i40e/base/i40e_type.h +++ b/drivers/net/i40e/base/i40e_type.h @@ -1555,6 +1555,9 @@ struct i40e_hw_port_stats { #define I40E_SR_FEATURE_CONFIGURATION_PTR 0x49 #define I40E_SR_CONFIGURATION_METADATA_PTR 0x4D #define I40E_SR_IMMEDIATE_VALUES_PTR 0x4E +#define I40E_SR_PRESERVATION_RULES_PTR 0x70 +#define I40E_X722_SR_5TH_FREE_PROVISION_AREA_PTR 0x71 +#define I40E_SR_6TH_FREE_PROVISION_AREA_PTR 0x71 /* Auxiliary field, mask and shift definition for Shadow RAM and NVM Flash */ #define I40E_SR_VPD_MODULE_MAX_SIZE 1024