-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fabtests/common: use common device host buffer for check_buf
The tx_msg_buf is a host buffer allocated with the hmem interface which is used as a staging buffer for validation data to copy into the device transfer buffer once filled with data. Currently, the tx_msg_buf is onsly used on the fill_buf path but it can also be used on check_buf, eliminating the need to alloc and free the staging buffer on every transfer. This also renames the tx_msg_buf variable to a more generic name (dev_host_buf) since it is used on both the send and receive paths Signed-off-by: Alexia Ingerson <[email protected]>
- Loading branch information
Showing
4 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters