aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/vmxnet3.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-03-14 16:28:24 +0000
committerMichael Brown <mcb30@ipxe.org>2022-08-08 15:59:55 +0100
commit5d3fad5c10c72d836560331b3ffc61a7f62e7994 (patch)
treef6ef17eff53d344fb2489de396ef15409dfa80c7 /src/drivers/net/vmxnet3.c
parentd3c8944d5c3ab262826ed33b16f3fc4dd43bc304 (diff)
downloadipxe-5d3fad5c10c72d836560331b3ffc61a7f62e7994.tar.gz
[intelxl] Fix retrieval of switch configuration via admin queue
Commit 8f3e648 ("[intelxl] Use one admin queue buffer per admin queue descriptor") changed the API for intelxl_admin_command() such that the caller now constructs the command directly within the next available descriptor ring entry, rather than relying on intelxl_admin_command() to copy the descriptor to and from the descriptor ring. This introduced a regression in intelxl_admin_switch(), since the second and subsequent iterations of the loop will not have constructed a valid command in the new descriptor ring entry before calling intelxl_admin_command(). Fix by constructing the command within the loop. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/vmxnet3.c')
0 files changed, 0 insertions, 0 deletions