diff options
author | Tony Nguyen <anthony.l.nguyen@intel.com> | 2019-09-09 06:47:45 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-09-12 11:28:40 -0700 |
commit | 32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13 (patch) | |
tree | 2af2894fcfbe01539a2be45d0952cd6edd7bbad4 /drivers/net/ethernet/intel/ice/ice_flex_type.h | |
parent | ice: Implement Dynamic Device Personalization (DDP) download (diff) | |
download | linux-dev-32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13.tar.xz linux-dev-32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13.zip |
ice: Initialize DDP package structures
Add functions to initialize, parse, and clean structures representing
the DDP package.
Upon completion of package download, read and store the DDP package
contents to these structures. This configuration is used to
identify the default behavior and later used to update the HW table
entries.
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_flex_type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_flex_type.h b/drivers/net/ethernet/intel/ice/ice_flex_type.h index b7fb90594faf..5d5a7eaffa30 100644 --- a/drivers/net/ethernet/intel/ice/ice_flex_type.h +++ b/drivers/net/ethernet/intel/ice/ice_flex_type.h @@ -294,6 +294,7 @@ struct ice_vsig_vsi { }; #define ICE_XLT1_CNT 1024 +#define ICE_MAX_PTGS 256 /* XLT1 Table */ struct ice_xlt1 { @@ -304,6 +305,7 @@ struct ice_xlt1 { u16 count; }; +#define ICE_XLT2_CNT 768 #define ICE_MAX_VSIGS 768 /* VSIG bit layout: |