[arbel] Allocate space for GRH on UD queue pairs
As with the previous commit (for Hermon), allocate a separate ring buffer to hold received GRHs. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -237,7 +237,7 @@ struct arbelprm_rc_send_wqe {
|
||||
struct arbelprm_wqe_segment_data_ptr data[ARBEL_MAX_GATHER];
|
||||
} __attribute__ (( packed ));
|
||||
|
||||
#define ARBEL_MAX_SCATTER 1
|
||||
#define ARBEL_MAX_SCATTER 2
|
||||
|
||||
struct arbelprm_recv_wqe {
|
||||
/* The autogenerated header is inconsistent between send and
|
||||
@@ -369,6 +369,10 @@ struct arbel_recv_work_queue {
|
||||
union arbel_recv_wqe *wqe;
|
||||
/** Size of work queue */
|
||||
size_t wqe_size;
|
||||
/** GRH buffers (if applicable) */
|
||||
struct ib_global_route_header *grh;
|
||||
/** Size of GRB buffers */
|
||||
size_t grh_size;
|
||||
};
|
||||
|
||||
/** Number of special queue pairs */
|
||||
|
||||
Reference in New Issue
Block a user