When creating an EP without a request EVD (cq) the max_request_iov
and max_request_sge will be 0. Allow this combination when checking
attribute settings for ARG6.
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
&& ep_attr->max_request_dtos == 0)
|| (recv_evd_handle != DAT_HANDLE_NULL
&& ep_attr->max_recv_iov == 0)
- || ep_attr->max_request_iov == 0
+ || (request_evd_handle == DAT_HANDLE_NULL
+ && ep_attr->max_request_iov != 0)
|| (DAT_SUCCESS !=
dapl_ep_check_recv_completion_flags
(ep_attr->recv_completion_flags)))) {