ice: Initialize DDP package structures
authorTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 9 Sep 2019 13:47:45 +0000 (06:47 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 12 Sep 2019 18:28:40 +0000 (11:28 -0700)
commit32d63fa1e9f33ba5d0a3ad33790c65e1ab49dd13
tree2af2894fcfbe01539a2be45d0952cd6edd7bbad4
parentc7648810961682b9388be2dd041df06915647445
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>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
drivers/net/ethernet/intel/ice/ice_flex_pipe.h
drivers/net/ethernet/intel/ice/ice_flex_type.h