1
1

usnic: ensure to set the iov_limit to 1

The usNIC BTL does not use more than 1 iov, so be sure to set it to 1
so that we don't allocate cq/rq/sq entries based on a default (i.e.,
>1) number of iovs per entry.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
Jeff Squyres 2017-04-20 13:28:15 -07:00
родитель d2b603986d
Коммит 7bd2de9960

Просмотреть файл

@ -1552,6 +1552,8 @@ static int create_ep(opal_btl_usnic_module_t* module,
hint->rx_attr->size = channel->chan_rd_num;
hint->tx_attr->size = channel->chan_sd_num;
hint->tx_attr->iov_limit = 1;
hint->rx_attr->iov_limit = 1;
/* specific ports requested? */
sin = hint->src_addr;