* [Intel-wired-lan] [PATCH] i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
@ 2017-09-01 20:43 Jacob Keller
2017-09-01 21:35 ` Bowers, AndrewX
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Keller @ 2017-09-01 20:43 UTC (permalink / raw)
To: intel-wired-lan
When introducing the functions to read the NVM through the AdminQ, we
did not correctly mark the wb_desc.
Fixes: 7073f46e443e ("i40e: Add AQ commands for NVM Update for X722", 2015-06-05)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
drivers/net/ethernet/intel/i40e/i40e_nvm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_nvm.c b/drivers/net/ethernet/intel/i40e/i40e_nvm.c
index d92aedc278aa..1b39cf7a0473 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_nvm.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_nvm.c
@@ -247,6 +247,7 @@ static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer,
struct i40e_asq_cmd_details cmd_details;
memset(&cmd_details, 0, sizeof(cmd_details));
+ cmd_details.wb_desc = &hw->nvm_wb_desc;
/* Here we are checking the SR limit only for the flat memory model.
* We cannot do it for the module-based model, as we did not acquire
--
2.14.1.436.g33e61a4f0239
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-wired-lan] [PATCH] i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
2017-09-01 20:43 [Intel-wired-lan] [PATCH] i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq Jacob Keller
@ 2017-09-01 21:35 ` Bowers, AndrewX
0 siblings, 0 replies; 2+ messages in thread
From: Bowers, AndrewX @ 2017-09-01 21:35 UTC (permalink / raw)
To: intel-wired-lan
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jacob Keller
> Sent: Friday, September 1, 2017 1:43 PM
> To: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>
> Subject: [Intel-wired-lan] [PATCH] i40e: point wb_desc at the nvm_wb_desc
> during i40e_read_nvm_aq
>
> When introducing the functions to read the NVM through the AdminQ, we
> did not correctly mark the wb_desc.
>
> Fixes: 7073f46e443e ("i40e: Add AQ commands for NVM Update for X722",
> 2015-06-05)
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_nvm.c | 1 +
> 1 file changed, 1 insertion(+)
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-01 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01 20:43 [Intel-wired-lan] [PATCH] i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq Jacob Keller
2017-09-01 21:35 ` Bowers, AndrewX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox