mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 18:42:53 +03:00
[infiniband] Include destination address vector in ib_complete_recv()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -155,6 +155,7 @@ extern int ib_push ( struct ib_device *ibdev, struct io_buffer *iobuf,
|
||||
const struct ib_address_vector *dest );
|
||||
extern int ib_pull ( struct ib_device *ibdev, struct io_buffer *iobuf,
|
||||
struct ib_queue_pair **qp, size_t *payload_len,
|
||||
struct ib_address_vector *dest,
|
||||
struct ib_address_vector *source );
|
||||
|
||||
#endif /* _IPXE_IB_PACKET_H */
|
||||
|
||||
@@ -205,12 +205,14 @@ struct ib_completion_queue_operations {
|
||||
*
|
||||
* @v ibdev Infiniband device
|
||||
* @v qp Queue pair
|
||||
* @v dest Destination address vector, or NULL
|
||||
* @v source Source address vector, or NULL
|
||||
* @v iobuf I/O buffer
|
||||
* @v rc Completion status code
|
||||
*/
|
||||
void ( * complete_recv ) ( struct ib_device *ibdev,
|
||||
struct ib_queue_pair *qp,
|
||||
struct ib_address_vector *dest,
|
||||
struct ib_address_vector *source,
|
||||
struct io_buffer *iobuf, int rc );
|
||||
};
|
||||
@@ -511,6 +513,7 @@ extern void ib_complete_send ( struct ib_device *ibdev,
|
||||
struct io_buffer *iobuf, int rc );
|
||||
extern void ib_complete_recv ( struct ib_device *ibdev,
|
||||
struct ib_queue_pair *qp,
|
||||
struct ib_address_vector *dest,
|
||||
struct ib_address_vector *source,
|
||||
struct io_buffer *iobuf, int rc );
|
||||
extern void ib_refill_recv ( struct ib_device *ibdev,
|
||||
|
||||
Reference in New Issue
Block a user