home | help
EFADV_CREATE_QP_EX(3)	     EFA Direct Verbs Manual	   EFADV_CREATE_QP_EX(3)

NAME
     efadv_create_qp_ex - Create EFA specific extended Queue Pair

SYNOPSIS
	    #include <infiniband/efadv.h>

	    struct ibv_qp *efadv_create_qp_ex(struct ibv_context *ibvctx,
			      struct ibv_qp_init_attr_ex *attr_ex,
			      struct efadv_qp_init_attr *efa_attr,
			      uint32_t inlen);

DESCRIPTION
     efadv_create_qp_ex() creates device-specific extended Queue Pair.

     The  argument  attr_ex is an ibv_qp_init_attr_ex struct, as defined in <in-
     finiband/verbs.h>.

     Use ibv_qp_to_qp_ex() to get the ibv_qp_ex for accessing the send ops iter-
     ator interface, when  QP  create  attr  IBV_QP_INIT_ATTR_SEND_OPS_FLAGS  is
     used.

     Scalable  Reliable  Datagram (SRD) transport provides reliable out-of-order
     delivery, transparently utilizing multiple network paths to reduce  network
     tail  latency.   Its  interface is similar to UD, in particular it supports
     message size up to MTU, with error handling extended  to  support	reliable
     communication.

     Compatibility is handled using the comp_mask and inlen fields.

	    struct efadv_qp_init_attr {
		uint64_t comp_mask;
		uint32_t driver_qp_type;
		uint16_t flags;
		uint8_t sl;
		uint8_t reserved;
		uint64_t wr_flags;
	    };

     inlen  In: Size of struct efadv_qp_init_attr.

     comp_mask
	    Compatibility mask.

     driver_qp_type
	    The type of QP to be created:
	    EFADV_QP_DRIVER_TYPE_SRD: Create an SRD QP.

     flags

	      A bitwise OR of the values described below.
	    EFADV_QP_FLAGS_UNSOLICITED_WRITE_RECV:  Receive WRs will not be con-
	    sumed for RDMA write with imm.  EFADV_QP_FLAGS_INLINE_WRITE: QP sup-
	    ports RDMA write with inline operations.

     sl     Service Level - 0 value implies default level.

     wr_flags
	    A bitwise OR of the values described below.  Controls which EFA-spe-
	    cific work request setter functions are available on  the  QP.   Use
	    efadv_qp_from_ibv_qp_ex() to get the efadv_qp for accessing the work
	    request setter interface.
	    EFADV_WR_EX_WITH_PROCESSING_HINTS:	  Enable   efadv_wr_set_process-
	    ing_hints() on this QP.

RETURN VALUE
     efadv_create_qp_ex() returns a pointer to the created QP, or  NULL  if  the
     request fails.

SEE ALSO
     efadv(7), ibv_create_qp_ex(3)

AUTHORS
     Gal Pressman galpress@amazon.com Daniel Kranzdorf dkkranzd@amazon.com

efa				   2019-08-06		   EFADV_CREATE_QP_EX(3)

home | help