aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-08-31 01:48:49 +0100
committerMichael Brown <mcb30@ipxe.org>2012-08-31 21:22:58 +0100
commitf54a61e43450fae7d045bebabc4c368d325e71d3 (patch)
tree4da3e1ff7629e7d06b7a62a9fce592a5baeee794 /src/include
parentcbe41cb31be10edc234e96cf4291245c21272a57 (diff)
downloadipxe-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.h1
-rw-r--r--src/include/ipxe/infiniband.h3
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,