mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
[infiniband] Use explicit "source" and "dest" address vector parameter names
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -152,9 +152,9 @@ union ib_headers {
|
||||
|
||||
extern int ib_push ( struct ib_device *ibdev, struct io_buffer *iobuf,
|
||||
struct ib_queue_pair *qp, size_t payload_len,
|
||||
const struct ib_address_vector *av );
|
||||
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 *av );
|
||||
struct ib_address_vector *source );
|
||||
|
||||
#endif /* _IPXE_IB_PACKET_H */
|
||||
|
||||
@@ -205,13 +205,13 @@ struct ib_completion_queue_operations {
|
||||
*
|
||||
* @v ibdev Infiniband device
|
||||
* @v qp Queue pair
|
||||
* @v av 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 *av,
|
||||
struct ib_address_vector *source,
|
||||
struct io_buffer *iobuf, int rc );
|
||||
};
|
||||
|
||||
@@ -289,7 +289,7 @@ struct ib_device_operations {
|
||||
*
|
||||
* @v ibdev Infiniband device
|
||||
* @v qp Queue pair
|
||||
* @v av Address vector
|
||||
* @v dest Destination address vector
|
||||
* @v iobuf I/O buffer
|
||||
* @ret rc Return status code
|
||||
*
|
||||
@@ -300,7 +300,7 @@ struct ib_device_operations {
|
||||
*/
|
||||
int ( * post_send ) ( struct ib_device *ibdev,
|
||||
struct ib_queue_pair *qp,
|
||||
struct ib_address_vector *av,
|
||||
struct ib_address_vector *dest,
|
||||
struct io_buffer *iobuf );
|
||||
/** Post receive work queue entry
|
||||
*
|
||||
@@ -502,7 +502,7 @@ extern struct ib_queue_pair * ib_find_qp_mgid ( struct ib_device *ibdev,
|
||||
extern struct ib_work_queue * ib_find_wq ( struct ib_completion_queue *cq,
|
||||
unsigned long qpn, int is_send );
|
||||
extern int ib_post_send ( struct ib_device *ibdev, struct ib_queue_pair *qp,
|
||||
struct ib_address_vector *av,
|
||||
struct ib_address_vector *dest,
|
||||
struct io_buffer *iobuf );
|
||||
extern int ib_post_recv ( struct ib_device *ibdev, struct ib_queue_pair *qp,
|
||||
struct io_buffer *iobuf );
|
||||
@@ -511,7 +511,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 *av,
|
||||
struct ib_address_vector *source,
|
||||
struct io_buffer *iobuf, int rc );
|
||||
extern void ib_refill_recv ( struct ib_device *ibdev,
|
||||
struct ib_queue_pair *qp );
|
||||
|
||||
Reference in New Issue
Block a user