[dpdk-dev] [PATCH 05/21] net/ixgbe/base: added API for NVM update

Ferruh Yigit ferruh.yigit at intel.com
Mon Jun 22 13:59:19 CEST 2020


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.skajewski at intel.com>
> Signed-off-by: Guinan Sun <guinanx.sun at 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?


More information about the dev mailing list