diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-08-31 01:48:49 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-08-31 21:22:58 +0100 |
commit | f54a61e43450fae7d045bebabc4c368d325e71d3 (patch) | |
tree | 4da3e1ff7629e7d06b7a62a9fce592a5baeee794 /src/include | |
parent | cbe41cb31be10edc234e96cf4291245c21272a57 (diff) | |
download | ipxe-f54a61e43450fae7d045bebabc4c368d325e71d3.tar.gz |
[infiniband] Include destination address vector in ib_complete_recv()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/ib_packet.h | 1 | ||||
-rw-r--r-- | src/include/ipxe/infiniband.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/ib_packet.h b/src/include/ipxe/ib_packet.h index 2556b6e18..a959967cb 100644 --- a/src/include/ipxe/ib_packet.h +++ b/src/include/ipxe/ib_packet.h @@ -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 */ diff --git a/src/include/ipxe/infiniband.h b/src/include/ipxe/infiniband.h index 48c618875..f546ea61b 100644 --- a/src/include/ipxe/infiniband.h +++ b/src/include/ipxe/infiniband.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, |