linux-bl808/drivers/net/ethernet/intel/ice
Victor Raj b827291958 ice: check for compatibility between DDP package and firmware
Require the Dynamic Device Personalization (DDP) file to have the same
major version number and the same or older minor number than the firmware
version major and minor, respectively.

Check the OS and NVM package versions before downloading the package.
If the OS package version is not compatible with NVM then return an
appropriate error.

Split the 32-byte segment name into a 28-byte segment name and
a 4-byte Track-ID. Older packages will still work with this change
because no package has a name that will take up more than 28 bytes;
in this case the Track-ID will be 0.

Note that the driver will store the segment name as 32-bytes in the
ice_hw structure, in order to normalize the length of the various
package name strings that it uses.

Also add section ID and structure for the segment metadata section.

Signed-off-by: Victor Raj <victor.raj@intel.com>
Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
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>
2020-05-22 22:22:50 -07:00
..
ice.h ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_adminq_cmd.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_arfs.c ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_arfs.h ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_base.c ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_base.h
ice_common.c ice: Call ice_aq_set_mac_cfg 2020-05-22 22:05:25 -07:00
ice_common.h ice: Call ice_aq_set_mac_cfg 2020-05-22 22:05:25 -07:00
ice_controlq.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_controlq.h
ice_dcb.c
ice_dcb.h
ice_dcb_lib.c ice: Fix check for contiguous TCs 2020-05-21 22:10:04 -07:00
ice_dcb_lib.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_dcb_nl.c
ice_dcb_nl.h
ice_devids.h
ice_devlink.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_devlink.h ice: add a devlink region for dumping NVM contents 2020-03-26 19:39:26 -07:00
ice_ethtool.c ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_ethtool_fdir.c ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_fdir.c ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_fdir.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_flex_pipe.c ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_flex_pipe.h ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_flex_type.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_flow.c ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_flow.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_fltr.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_fltr.h ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_hw_autogen.h ice: Call ice_aq_set_mac_cfg 2020-05-22 22:05:25 -07:00
ice_lan_tx_rx.h ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_lib.c ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_lib.h ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_main.c ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_nvm.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_nvm.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_osdep.h
ice_protocol_type.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_sched.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_sched.h
ice_sriov.c
ice_sriov.h
ice_status.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_switch.c ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_switch.h ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_txrx.c ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_txrx.h ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_txrx_lib.c ice: Rename build_ctob to ice_build_ctob 2020-05-21 22:10:04 -07:00
ice_txrx_lib.h ice: Rename build_ctob to ice_build_ctob 2020-05-21 22:10:04 -07:00
ice_type.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_virtchnl_pf.c ice: Check if unicast MAC exists before setting VF MAC 2020-05-22 22:20:22 -07:00
ice_virtchnl_pf.h ice: print Rx MDD auto reset message before VF reset 2020-05-22 22:07:06 -07:00
ice_xsk.c ice: Rename build_ctob to ice_build_ctob 2020-05-21 22:10:04 -07:00
ice_xsk.h ice: Use EOPNOTSUPP instead of ENOTSUPP 2020-03-10 13:10:53 -07:00
Makefile ice: Implement aRFS 2020-05-22 22:02:34 -07:00