Re: [RFC 15/19] RDMA/qedr: Add iWARP support in existing verbs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 26, 2017 at 09:07:05PM +0300, Michal Kalderon wrote:
> Make slight modifications to common RoCE/iWARP code.
> Add additional doorbell for iWARP post_send.
> iWARP QP pbl is allocated in qed and not in qedr.
>
> Signed-off-by: Michal Kalderon <Michal.Kalderon@xxxxxxxxxx>
> Signed-off-by: Ram Amrani <Ram.Amrani@xxxxxxxxxx>
> Signed-off-by: Ariel Elior <Ariel.Elior@xxxxxxxxxx>
>
> ---
>  drivers/infiniband/hw/qedr/qedr.h  |   3 +
>  drivers/infiniband/hw/qedr/verbs.c | 171 +++++++++++++++++++++++++++++--------
>  2 files changed, 139 insertions(+), 35 deletions(-)
>
> diff --git a/drivers/infiniband/hw/qedr/qedr.h b/drivers/infiniband/hw/qedr/qedr.h
> index c52fde0..0c0a39a 100644
> --- a/drivers/infiniband/hw/qedr/qedr.h
> +++ b/drivers/infiniband/hw/qedr/qedr.h
> @@ -319,6 +319,9 @@ struct qedr_qp_hwq_info {
>  	/* DB */
>  	void __iomem *db;
>  	union db_prod32 db_data;
> +
> +	void __iomem *iwarp_db2;
> +	union db_prod32 iwarp_db2_data;

Why do you need two doorbells?

>  };

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux