Use smaller 512 byte messages for portmapper messages
authorMustafa Ismail <mustafa.ismail@intel.com>
Mon, 18 Jul 2016 19:21:49 +0000 (14:21 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 Aug 2016 01:03:33 +0000 (21:03 -0400)
commite972dabf9c38f7051d3dbaa48d8e77cfbe3a1baa
tree05658cd67adac9ac28335d74ab51f606ca78a3da
parent5faba546952289a7306eae48df04e6159164c600
Use smaller 512 byte messages for portmapper messages

Portmapper messages are short and do not occupy more than 512 bytes.
Lower portmapper message size to 512 bytes. This change significantly
reduces the amount of memory needed when trying to establish a large
number of connections simultaneously. The old value is based on page
size.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/iwpm_util.c