[intelxl] Increase data buffer size to 4kB

At least one E810 admin queue command (Query Default Scheduling Tree
Topology) insists upon being provided with a 4kB data buffer, even
when the data to be returned is much smaller.

Work around this requirement by increasing the admin queue data buffer
size to 4kB.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/697/head^2
Michael Brown 2022-08-11 15:21:44 +01:00
parent fb69d14002
commit f0ea19b238
1 changed files with 5 additions and 2 deletions

View File

@ -329,6 +329,9 @@ union intelxl_admin_params {
struct intelxl_admin_link_params link;
} __attribute__ (( packed ));
/** Maximum size of a data buffer */
#define INTELXL_ADMIN_BUFFER_SIZE 0x1000
/** Admin queue data buffer */
union intelxl_admin_buffer {
/** Driver Version data buffer */
@ -337,8 +340,8 @@ union intelxl_admin_buffer {
struct intelxl_admin_switch_buffer sw;
/** Get VSI Parameters data buffer */
struct intelxl_admin_vsi_buffer vsi;
/** Alignment padding */
uint8_t pad[INTELXL_ALIGN];
/** Maximum buffer size */
uint8_t pad[INTELXL_ADMIN_BUFFER_SIZE];
} __attribute__ (( packed ));
/** Admin queue descriptor */