diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-08-11 15:05:34 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-08-24 08:45:54 -0700 |
commit | da02ee9c220bcc8abbb97473dbf82aad28de80cc (patch) | |
tree | ae83c4ae059d06f05e7d1ab9300c761d3bdf2b43 /drivers/net/ethernet/intel/ice/ice_xsk.h | |
parent | 781f15eac0d2035828558d7e5ab2779b151b2362 (diff) | |
download | linux-da02ee9c220bcc8abbb97473dbf82aad28de80cc.tar.gz linux-da02ee9c220bcc8abbb97473dbf82aad28de80cc.tar.bz2 linux-da02ee9c220bcc8abbb97473dbf82aad28de80cc.zip |
ice: Add additional flags to ice_nvm_write_activate
The ice_nvm_write_activate function is used to issue AdminQ command
0x0707 which sends a request to firmware to activate a flash bank. For
basic operations, this command takes an 8bit flag value which defines
the flags to control the activation process. There are some additional
flags that are stored in a second 8bit flag field.
We can simplify the interface by using a u16 cmd_flags variable. Split
this over the two bytes of flag storage in the structure.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Anatolii Gerasymenko <anatolii.gerasymenko@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_xsk.h')
0 files changed, 0 insertions, 0 deletions