mirror of https://github.com/ipxe/ipxe.git
[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
parent
fb69d14002
commit
f0ea19b238
|
@ -329,6 +329,9 @@ union intelxl_admin_params {
|
||||||
struct intelxl_admin_link_params link;
|
struct intelxl_admin_link_params link;
|
||||||
} __attribute__ (( packed ));
|
} __attribute__ (( packed ));
|
||||||
|
|
||||||
|
/** Maximum size of a data buffer */
|
||||||
|
#define INTELXL_ADMIN_BUFFER_SIZE 0x1000
|
||||||
|
|
||||||
/** Admin queue data buffer */
|
/** Admin queue data buffer */
|
||||||
union intelxl_admin_buffer {
|
union intelxl_admin_buffer {
|
||||||
/** Driver Version data buffer */
|
/** Driver Version data buffer */
|
||||||
|
@ -337,8 +340,8 @@ union intelxl_admin_buffer {
|
||||||
struct intelxl_admin_switch_buffer sw;
|
struct intelxl_admin_switch_buffer sw;
|
||||||
/** Get VSI Parameters data buffer */
|
/** Get VSI Parameters data buffer */
|
||||||
struct intelxl_admin_vsi_buffer vsi;
|
struct intelxl_admin_vsi_buffer vsi;
|
||||||
/** Alignment padding */
|
/** Maximum buffer size */
|
||||||
uint8_t pad[INTELXL_ALIGN];
|
uint8_t pad[INTELXL_ADMIN_BUFFER_SIZE];
|
||||||
} __attribute__ (( packed ));
|
} __attribute__ (( packed ));
|
||||||
|
|
||||||
/** Admin queue descriptor */
|
/** Admin queue descriptor */
|
||||||
|
|
Loading…
Reference in New Issue