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_pipe.h | |
parent | c7648810961682b9388be2dd041df06915647445 (diff) | |
download | linux-32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13.tar.gz linux-32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13.tar.bz2 linux-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 'drivers/net/ethernet/intel/ice/ice_flex_pipe.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_flex_pipe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_flex_pipe.h b/drivers/net/ethernet/intel/ice/ice_flex_pipe.h index 3843c462bc42..9edf1e7589c7 100644 --- a/drivers/net/ethernet/intel/ice/ice_flex_pipe.h +++ b/drivers/net/ethernet/intel/ice/ice_flex_pipe.h @@ -21,5 +21,8 @@ enum ice_status ice_init_pkg(struct ice_hw *hw, u8 *buff, u32 len); enum ice_status ice_copy_and_init_pkg(struct ice_hw *hw, const u8 *buf, u32 len); +enum ice_status ice_init_hw_tbls(struct ice_hw *hw); void ice_free_seg(struct ice_hw *hw); +void ice_clear_hw_tbls(struct ice_hw *hw); +void ice_free_hw_tbls(struct ice_hw *hw); #endif /* _ICE_FLEX_PIPE_H_ */ |