Hi Ferruh > -----Original Message----- > From: Yigit, Ferruh > Sent: Monday, June 22, 2020 7:59 PM > To: Sun, GuinanX <guinanx....@intel.com>; dev@dpdk.org > Cc: Skajewski, PiotrX <piotrx.skajew...@intel.com> > Subject: Re: [dpdk-dev] [PATCH 05/21] net/ixgbe/base: added API for NVM > update > > On 6/12/2020 4:23 AM, Guinan Sun wrote: > > When Secure Boot is enabled access to the /dev/mem is forbidden for > > user-space applications and clients are reporting inability to use > > tools in Secure Boot Mode. The way to perform NVM update is to use > > ixgbe driver. Currently 10G Linux Base Driver has API which allows > > only EEPROM access. There is a need to extend IOCTL API to allow NVM > > and registers access. > > If I understand this correctly, this is to enable NVM update through 'ixgbe' > kernel driver, is this needed for the DPDK? > > > > > Signed-off-by: Piotr Skajewski <piotrx.skajew...@intel.com> > > Signed-off-by: Guinan Sun <guinanx....@intel.com> > > <...> > > > @@ -4200,6 +4236,10 @@ struct ixgbe_hw { > > bool allow_unsupported_sfp; > > bool wol_enabled; > > bool need_crosstalk_fix; > > +#ifdef IXGBE_NVMUPD_SUPPORT > > + /* NVM Update features */ > > + struct ixgbe_nvm_features nvmupd_features; #endif > > In DPDK is there anywhere that sets this 'IXGBE_NVMUPD_SUPPORT' define?
V2 patch will remove this code.