Skip to content

Commit

Permalink
[intelxl] Use one admin queue buffer per admin queue descriptor
Browse files Browse the repository at this point in the history
We currently use a single data buffer shared between all admin queue
descriptors.  This works for the physical function driver since we
have at most one command in progress and only a single event (which
does not use a data buffer).

The communication path between the physical and virtual function
drivers uses the event data buffer, and there is no way to prevent a
solicited event (i.e. a response to a request) from being overwritten
by an unsolicited event (e.g. a link status change).

Provide individual data buffers for each admin event queue descriptor
(and for each admin command queue descriptor, for the sake of
consistency).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Apr 27, 2019
1 parent c5ccfe7 commit 8f3e648
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 118 deletions.

0 comments on commit 8f3e648

Please sign in to comment.