Thread (99 messages) read the whole thread 99 messages, 5 authors, 2020-07-09

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

From: Ferruh Yigit <hidden>
Date: 2020-06-22 11:59:24

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 <redacted>
Signed-off-by: Guinan Sun <redacted>
<...>
quoted hunk ↗ jump to hunk
@@ -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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help